From: Heinz Mauelshagen <heinzm@redhat.com> Date: Tue, 7 Feb 2023 21:00:44 +0000 (+0100) Subject: dm log: avoid trailing semicolon in macro X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fb99e87b44ff8e77fe1406796361db194c17aedd;p=linux.git dm log: avoid trailing semicolon in macro Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org> --- diff --git a/drivers/md/dm-log.c b/drivers/md/dm-log.c index e1f755138d0af..13271839054fa 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)