summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2018-06-22 09:15:31 +1000
committerTheodore Ts'o <tytso@mit.edu>2018-07-17 21:32:48 -0400
commit8ddd6efa56c3fe23df9fe4cf5e2b49cc55416ef4 (patch)
treeaf298a25a622ac9c34d9ba86b4b1f2b8080a50ae /drivers/char
parent81e69df38e2911b642ec121dec319fad2a4782f3 (diff)
downloadlinux-8ddd6efa56c3fe23df9fe4cf5e2b49cc55416ef4.tar.bz2
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.c3
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
*