diff options
author | Tobin C. Harding <me@tobin.cc> | 2018-06-22 02:15:31 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-07-18 04:32:48 +0300 |
commit | 8ddd6efa56c3fe23df9fe4cf5e2b49cc55416ef4 (patch) | |
tree | af298a25a622ac9c34d9ba86b4b1f2b8080a50ae /drivers/char | |
parent | 81e69df38e2911b642ec121dec319fad2a4782f3 (diff) | |
download | linux-8ddd6efa56c3fe23df9fe4cf5e2b49cc55416ef4.tar.xz |
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: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/random.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c index bd449ad52442..8e53e9515a1d 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -1737,7 +1737,7 @@ void get_random_bytes_arch(void *buf, int nbytes) if (!arch_get_random_long(&v)) break; - + memcpy(p, &v, chunk); p += chunk; nbytes -= chunk; @@ -1748,7 +1748,6 @@ void get_random_bytes_arch(void *buf, int nbytes) } EXPORT_SYMBOL(get_random_bytes_arch); - /* * init_std_data - initialize pool with system data * |