summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJosep Puigdemont <josep.puigdemont@gmail.com>2014-06-01 20:23:16 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-01 11:36:48 -0700
commit5b39bd5f33bb65f60492441bf6b50d88bc843e1c (patch)
treeba73a2d320d8a572d9aaa68e18251ebaf626657e /drivers
parent57bab7cb353d71c10611c34571fcb3c9f38b4792 (diff)
downloadlinux-5b39bd5f33bb65f60492441bf6b50d88bc843e1c.tar.bz2
staging: lustre: Fix coding style
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/lustre/lustre/llite/llite_nfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/llite/llite_nfs.c b/drivers/staging/lustre/lustre/llite/llite_nfs.c
index e0e112b710d7..a614b913ddc2 100644
--- a/drivers/staging/lustre/lustre/llite/llite_nfs.c
+++ b/drivers/staging/lustre/lustre/llite/llite_nfs.c
@@ -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;
}