提交 5b39bd5f 编写于 作者: J Josep Puigdemont 提交者: Greg Kroah-Hartman

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: NJosep Puigdemont <josep.puigdemont@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 57bab7cb
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册