summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-ps-round-robin.c
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2023-01-25 22:57:42 +0100
committerMike Snitzer <snitzer@kernel.org>2023-02-14 14:23:06 -0500
commit96422281baf57f4d9418581fdfaca9617bb805e1 (patch)
treee4eaaa5be5e4ef30d733ad17d31d0747fecf3111 /drivers/md/dm-ps-round-robin.c
parent2f06cd12e11422e4a44ad4cb856c3ef0be9bd208 (diff)
downloadlinux-stable-96422281baf57f4d9418581fdfaca9617bb805e1.tar.gz
linux-stable-96422281baf57f4d9418581fdfaca9617bb805e1.tar.bz2
linux-stable-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-ps-round-robin.c')
-rw-r--r--drivers/md/dm-ps-round-robin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-ps-round-robin.c b/drivers/md/dm-ps-round-robin.c
index aaf805efaedd..7c2dda9e871c 100644
--- a/drivers/md/dm-ps-round-robin.c
+++ b/drivers/md/dm-ps-round-robin.c
@@ -94,7 +94,7 @@ static int rr_status(struct path_selector *ps, struct dm_path *path,
if (!path)
DMEMIT("0 ");
else {
- switch(type) {
+ switch (type) {
case STATUSTYPE_INFO:
break;
case STATUSTYPE_TABLE: