From: Tobin C. Harding Date: Thu, 21 Jun 2018 23:15:31 +0000 (+1000) Subject: random: Fix whitespace pre random-bytes work X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e5572bef463953e88732a3f58fde14af425f635c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git random: Fix whitespace pre random-bytes work 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 Signed-off-by: Tobin C. Harding Signed-off-by: Theodore Ts'o Signed-off-by: Jason A. Donenfeld Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/char/random.c b/drivers/char/random.c index f0f93547c665..05339b61dce8 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -1742,7 +1742,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; @@ -1753,7 +1753,6 @@ void get_random_bytes_arch(void *buf, int nbytes) } EXPORT_SYMBOL(get_random_bytes_arch); - /* * init_std_data - initialize pool with system data *