staging: lustre: Fix coding style
authorJosep Puigdemont <josep.puigdemont@gmail.com>
Sun, 1 Jun 2014 18:23:16 +0000 (20:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 Jun 2014 18:36:48 +0000 (11:36 -0700)
The if block should be placed in a new line rather
than after the if statement.
Blank line required between variable declarations and code.

Signed-off-by: Josep Puigdemont <josep.puigdemont@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/llite_nfs.c

index e0e112b710d72a17dc31bdedc1f634ab7cbfb9d4..a614b913ddc229fd95a8edf0c43b3c9e121ed40d 100644 (file)
@@ -51,7 +51,9 @@ __u32 get_uuid2int(const char *name, int len)
        __u32 key0 = 0x12a3fe2d, key1 = 0x37abe8f9;
        while (len--) {
                __u32 key = key1 + (key0 ^ (*name++ * 7152373));
-               if (key & 0x80000000) key -= 0x7fffffff;
+
+               if (key & 0x80000000)
+                       key -= 0x7fffffff;
                key1 = key0;
                key0 = key;
        }