Skip to content

Commit 8ddd6ef

Browse files
tchardingtytso
authored andcommitted
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>
1 parent 81e69df commit 8ddd6ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/char/random.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1737,7 +1737,7 @@ void get_random_bytes_arch(void *buf, int nbytes)
17371737

17381738
if (!arch_get_random_long(&v))
17391739
break;
1740-
1740+
17411741
memcpy(p, &v, chunk);
17421742
p += chunk;
17431743
nbytes -= chunk;
@@ -1748,7 +1748,6 @@ void get_random_bytes_arch(void *buf, int nbytes)
17481748
}
17491749
EXPORT_SYMBOL(get_random_bytes_arch);
17501750

1751-
17521751
/*
17531752
* init_std_data - initialize pool with system data
17541753
*

0 commit comments

Comments
 (0)