This is a note to let you know that I've just added the patch titled random: Fix whitespace pre random-bytes work to the 4.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: random-fix-whitespace-pre-random-bytes-work.patch and it can be found in the queue-4.14 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From foo@baz Thu Jun 16 07:08:33 PM CEST 2022 From: "Tobin C. Harding" <me@xxxxxxxx> Date: Fri, 22 Jun 2018 09:15:31 +1000 Subject: random: Fix whitespace pre random-bytes work From: "Tobin C. Harding" <me@xxxxxxxx> commit 8ddd6efa56c3fe23df9fe4cf5e2b49cc55416ef4 upstream. 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@xxxxxxx> Signed-off-by: Tobin C. Harding <me@xxxxxxxx> Signed-off-by: Theodore Ts'o <tytso@xxxxxxx> Signed-off-by: Jason A. Donenfeld <Jason@xxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/char/random.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -1742,7 +1742,7 @@ void get_random_bytes_arch(void *buf, in if (!arch_get_random_long(&v)) break; - + memcpy(p, &v, chunk); p += chunk; nbytes -= chunk; @@ -1753,7 +1753,6 @@ void get_random_bytes_arch(void *buf, in } EXPORT_SYMBOL(get_random_bytes_arch); - /* * init_std_data - initialize pool with system data * Patches currently in stable-queue which might be from me@xxxxxxxx are queue-4.14/random-fix-whitespace-pre-random-bytes-work.patch queue-4.14/random-return-nbytes-filled-from-hw-rng.patch