Commit 464289d8 authored by Tina Ruchandani's avatar Tina Ruchandani Committed by Greg Kroah-Hartman

Staging: lustre: libcfs: Fix switch-case indent

This patch fixes the following checkpatch error:j
ERROR: switch and case should be at the same indent
105: FILE: drivers/staging/lustre/lustre/libcfs/fail.c:105:
Signed-off-by: default avatarTina Ruchandani <ruchandani.tina@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 907cd248
...@@ -103,18 +103,18 @@ int __cfs_fail_check_set(__u32 id, __u32 value, int set) ...@@ -103,18 +103,18 @@ int __cfs_fail_check_set(__u32 id, __u32 value, int set)
} }
switch (set) { switch (set) {
case CFS_FAIL_LOC_NOSET: case CFS_FAIL_LOC_NOSET:
case CFS_FAIL_LOC_VALUE: case CFS_FAIL_LOC_VALUE:
break; break;
case CFS_FAIL_LOC_ORSET: case CFS_FAIL_LOC_ORSET:
cfs_fail_loc |= value & ~(CFS_FAILED | CFS_FAIL_ONCE); cfs_fail_loc |= value & ~(CFS_FAILED | CFS_FAIL_ONCE);
break; break;
case CFS_FAIL_LOC_RESET: case CFS_FAIL_LOC_RESET:
cfs_fail_loc = value; cfs_fail_loc = value;
break; break;
default: default:
LASSERTF(0, "called with bad set %u\n", set); LASSERTF(0, "called with bad set %u\n", set);
break; break;
} }
return 1; return 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment