| commit | 72e5c740f6335e27253b8ff64d23d00337091535 | [log] [tgz] |
|---|---|---|
| author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | Fri Jun 30 16:37:13 2017 +0200 |
| committer | Theodore Ts'o <tytso@mit.edu> | Sat Jul 15 12:33:22 2017 -0400 |
| tree | 277b0d7fdd627c80c54deafae9ab10b27c3d39de | |
| parent | eecabf567422eda02bd179f2707d8fe24f52d888 [diff] |
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>