]> git.baikalelectronics.ru Git - kernel.git/commit
random32: remove net_rand_state from the latent entropy gcc plugin
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 30 Jul 2020 02:11:00 +0000 (19:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 30 Jul 2020 02:11:00 +0000 (19:11 -0700)
commite2c614e68acac324241c79b1357e03cea94495d0
tree334162ffd17ddfbeebc390e4e480d6c7137eaf6a
parentfe4e1f62548f36ceb9a6dc5bac98181ad65c32e3
random32: remove net_rand_state from the latent entropy gcc plugin

It turns out that the plugin right now ends up being really unhappy
about the change from 'static' to 'extern' storage that happened in
commit d1b61c3d6f0c ("random32: update the net random state on interrupt
and activity").

This is probably a trivial fix for the latent_entropy plugin, but for
now, just remove net_rand_state from the list of things the plugin
worries about.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Emese Revfy <re.emese@gmail.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Willy Tarreau <w@1wt.eu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/random.h
lib/random32.c