This is a note to let you know that I've just added the patch titled drivers/char/random.c: make primary_crng static 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: drivers-char-random.c-make-primary_crng-static.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: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> Date: Fri, 2 Nov 2018 12:04:47 +0100 Subject: drivers/char/random.c: make primary_crng static From: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> commit 764ed189c82090c1d85f0e30636156736d8f09a8 upstream. Since the definition of struct crng_state is private to random.c, and primary_crng is neither declared or used elsewhere, there's no reason for that symbol to have external linkage. Signed-off-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -415,7 +415,7 @@ struct crng_state { spinlock_t lock; }; -struct crng_state primary_crng = { +static struct crng_state primary_crng = { .lock = __SPIN_LOCK_UNLOCKED(primary_crng.lock), }; Patches currently in stable-queue which might be from linux@xxxxxxxxxxxxxxxxxx are queue-4.14/drivers-char-random.c-make-primary_crng-static.patch queue-4.14/drivers-char-random.c-remove-unused-stuct-poolinfo-poolbits.patch queue-4.14/drivers-char-random.c-constify-poolinfo_table.patch queue-4.14/drivers-char-random.c-remove-unused-dont_count_entropy.patch