aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2025-06-10 11:27:08 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2025-06-10 11:34:23 -0600
commit3778dcb2dcc1ce03a2b25e5d951fe9912e843d1e (patch)
treec8d29a9902439c90e0032465cef2edd66ba667a4 /Documentation/devicetree
parentprandom: remove next_pseudo_random32 (diff)
downloadlinux-rng-master.tar.xz
linux-rng-master.zip
random: use offstack cpumask when necessaryHEADmaster
The entropy generation function keeps a local cpu mask on the stack, which can trigger warnings in configurations with a large number of CPUs: drivers/char/random.c:1292:20: error: stack frame size (1288) exceeds limit (1280) in 'try_to_generate_entropy' [-Werror,-Wframe-larger-than] Use the cpumask interface to dynamically allocate it in those configurations. Fixes: 1c21fe00eda7 ("random: spread out jitter callback to different CPUs") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions