summaryrefslogtreecommitdiffstats
path: root/net/smc
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2017-06-30 16:37:13 +0200
committerTheodore Ts'o <tytso@mit.edu>2017-07-15 12:33:22 -0400
commit72e5c740f6335e27253b8ff64d23d00337091535 (patch)
tree277b0d7fdd627c80c54deafae9ab10b27c3d39de /net/smc
parenteecabf567422eda02bd179f2707d8fe24f52d888 (diff)
downloadlinux-72e5c740f6335e27253b8ff64d23d00337091535.tar.gz
linux-72e5c740f6335e27253b8ff64d23d00337091535.tar.bz2
linux-72e5c740f6335e27253b8ff64d23d00337091535.zip
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 'net/smc')
0 files changed, 0 insertions, 0 deletions