Staging: lustre: libcfs: Fix switch-case indent
authorTina Ruchandani <ruchandani.tina@gmail.com>
Wed, 22 Oct 2014 20:21:40 +0000 (13:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Oct 2014 03:09:12 +0000 (11:09 +0800)
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: Tina Ruchandani <ruchandani.tina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/fail.c

index e73ca3df97340625cdeb8c0f2a9a4ee2d41d1d21..92444b0fe2a36f038c193c333409caab74a1262b 100644 (file)
@@ -103,18 +103,18 @@ int __cfs_fail_check_set(__u32 id, __u32 value, int set)
        }
 
        switch (set) {
-               case CFS_FAIL_LOC_NOSET:
-               case CFS_FAIL_LOC_VALUE:
-                       break;
-               case CFS_FAIL_LOC_ORSET:
-                       cfs_fail_loc |= value & ~(CFS_FAILED | CFS_FAIL_ONCE);
-                       break;
-               case CFS_FAIL_LOC_RESET:
-                       cfs_fail_loc = value;
-                       break;
-               default:
-                       LASSERTF(0, "called with bad set %u\n", set);
-                       break;
+       case CFS_FAIL_LOC_NOSET:
+       case CFS_FAIL_LOC_VALUE:
+               break;
+       case CFS_FAIL_LOC_ORSET:
+               cfs_fail_loc |= value & ~(CFS_FAILED | CFS_FAIL_ONCE);
+               break;
+       case CFS_FAIL_LOC_RESET:
+               cfs_fail_loc = value;
+               break;
+       default:
+               LASSERTF(0, "called with bad set %u\n", set);
+               break;
        }
 
        return 1;