提交 8ddd6efa 编写于 作者: T Tobin C. Harding 提交者: Theodore Ts'o

random: Fix whitespace pre random-bytes work

There are a couple of whitespace issues around the function
get_random_bytes_arch().  In preparation for patching this function
let's clean them up.
Acked-by: NTheodore Ts'o <tytso@mit.edu>
Signed-off-by: NTobin C. Harding <me@tobin.cc>
Signed-off-by: NTheodore Ts'o <tytso@mit.edu>
上级 81e69df3
...@@ -1737,7 +1737,7 @@ void get_random_bytes_arch(void *buf, int nbytes) ...@@ -1737,7 +1737,7 @@ void get_random_bytes_arch(void *buf, int nbytes)
if (!arch_get_random_long(&v)) if (!arch_get_random_long(&v))
break; break;
memcpy(p, &v, chunk); memcpy(p, &v, chunk);
p += chunk; p += chunk;
nbytes -= chunk; nbytes -= chunk;
...@@ -1748,7 +1748,6 @@ void get_random_bytes_arch(void *buf, int nbytes) ...@@ -1748,7 +1748,6 @@ void get_random_bytes_arch(void *buf, int nbytes)
} }
EXPORT_SYMBOL(get_random_bytes_arch); EXPORT_SYMBOL(get_random_bytes_arch);
/* /*
* init_std_data - initialize pool with system data * init_std_data - initialize pool with system data
* *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册