diff options
author | Tobin C. Harding <me@tobin.cc> | 2018-06-21 19:15:31 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-07-17 21:32:48 -0400 |
commit | 8ddd6efa56c3fe23df9fe4cf5e2b49cc55416ef4 (patch) | |
tree | af298a25a622ac9c34d9ba86b4b1f2b8080a50ae /drivers/char/random.c | |
parent | 81e69df38e2911b642ec121dec319fad2a4782f3 (diff) |
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/random.c')
-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) | |||
1737 | 1737 | ||
1738 | if (!arch_get_random_long(&v)) | 1738 | if (!arch_get_random_long(&v)) |
1739 | break; | 1739 | break; |
1740 | 1740 | ||
1741 | memcpy(p, &v, chunk); | 1741 | memcpy(p, &v, chunk); |
1742 | p += chunk; | 1742 | p += chunk; |
1743 | nbytes -= chunk; | 1743 | nbytes -= chunk; |
@@ -1748,7 +1748,6 @@ void get_random_bytes_arch(void *buf, int nbytes) | |||
1748 | } | 1748 | } |
1749 | EXPORT_SYMBOL(get_random_bytes_arch); | 1749 | EXPORT_SYMBOL(get_random_bytes_arch); |
1750 | 1750 | ||
1751 | |||
1752 | /* | 1751 | /* |
1753 | * init_std_data - initialize pool with system data | 1752 | * init_std_data - initialize pool with system data |
1754 | * | 1753 | * |