summaryrefslogtreecommitdiff
path: root/drivers/md
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2023-02-07 22:00:44 +0100
committerMike Snitzer <snitzer@kernel.org>2023-02-14 14:23:07 -0500
commitfb99e87b44ff8e77fe1406796361db194c17aedd (patch)
tree48ada9a2159b322d4ac7470c47a47cf18cabf4aa /drivers/md
parent5cae0aa77397015f530aeb34f3ced32db6ac2875 (diff)
dm log: avoid trailing semicolon in macro
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm-log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-log.c b/drivers/md/dm-log.c
index e1f755138d0a..13271839054f 100644
--- a/drivers/md/dm-log.c
+++ b/drivers/md/dm-log.c
@@ -789,7 +789,7 @@ static region_t core_get_sync_count(struct dm_dirty_log *log)
do { \
if (lc->sync != DEFAULTSYNC) \
DMEMIT("%ssync ", lc->sync == NOSYNC ? "no" : ""); \
- } while (0);
+ } while (0)
static int core_status(struct dm_dirty_log *log, status_type_t status,
char *result, unsigned int maxlen)