Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
random: reorder READ_ONCE() in get_random_uXX
Avoid the READ_ONCE in commit 4a072c7 ("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>
- Loading branch information