diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2023-01-25 22:57:42 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2023-02-14 20:23:06 +0100 |
commit | 96422281baf57f4d9418581fdfaca9617bb805e1 (patch) | |
tree | e4eaaa5be5e4ef30d733ad17d31d0747fecf3111 /drivers/md/dm-log.c | |
parent | dm: avoid initializing static variables (diff) | |
download | linux-96422281baf57f4d9418581fdfaca9617bb805e1.tar.xz linux-96422281baf57f4d9418581fdfaca9617bb805e1.zip |
dm: address space issues relative to switch/while/for/...
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm-log.c b/drivers/md/dm-log.c index 7c3f30c58785..c87d8758718d 100644 --- a/drivers/md/dm-log.c +++ b/drivers/md/dm-log.c @@ -784,7 +784,7 @@ static int core_status(struct dm_dirty_log *log, status_type_t status, int sz = 0; struct log_c *lc = log->context; - switch(status) { + switch (status) { case STATUSTYPE_INFO: DMEMIT("1 %s", log->type->name); break; @@ -809,7 +809,7 @@ static int disk_status(struct dm_dirty_log *log, status_type_t status, int sz = 0; struct log_c *lc = log->context; - switch(status) { + switch (status) { case STATUSTYPE_INFO: DMEMIT("3 %s %s %c", log->type->name, lc->log_dev->name, lc->log_dev_flush_failed ? 'F' : |