diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2023-02-07 22:00:44 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2023-02-14 20:23:07 +0100 |
commit | fb99e87b44ff8e77fe1406796361db194c17aedd (patch) | |
tree | 48ada9a2159b322d4ac7470c47a47cf18cabf4aa /drivers/md/dm-log.c | |
parent | dm ioctl: have constant on the right side of the test (diff) | |
download | linux-fb99e87b44ff8e77fe1406796361db194c17aedd.tar.xz linux-fb99e87b44ff8e77fe1406796361db194c17aedd.zip |
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/dm-log.c')
-rw-r--r-- | drivers/md/dm-log.c | 2 |
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) |