From fb99e87b44ff8e77fe1406796361db194c17aedd Mon Sep 17 00:00:00 2001 From: Heinz Mauelshagen Date: Tue, 7 Feb 2023 22:00:44 +0100 Subject: [PATCH] dm log: avoid trailing semicolon in macro Signed-off-by: Heinz Mauelshagen Signed-off-by: Mike Snitzer --- drivers/md/dm-log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/dm-log.c b/drivers/md/dm-log.c index e1f7551..1327183 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) -- 2.7.4