diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2017-06-30 17:37:13 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-07-15 19:33:22 +0300 |
commit | 72e5c740f6335e27253b8ff64d23d00337091535 (patch) | |
tree | 277b0d7fdd627c80c54deafae9ab10b27c3d39de /lib/list_debug.c | |
parent | eecabf567422eda02bd179f2707d8fe24f52d888 (diff) | |
download | linux-72e5c740f6335e27253b8ff64d23d00337091535.tar.xz |
random: reorder READ_ONCE() in get_random_uXX
Avoid the READ_ONCE in commit 4a072c71f49b ("random: silence compiler
warnings and fix race") if we can leave the function after
arch_get_random_XXX().
Cc: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'lib/list_debug.c')
0 files changed, 0 insertions, 0 deletions