Commit 72e5c74
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 <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>1 parent eecabf5 commit 72e5c74
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2089 | 2089 | | |
2090 | 2090 | | |
2091 | 2091 | | |
2092 | | - | |
| 2092 | + | |
2093 | 2093 | | |
2094 | 2094 | | |
2095 | 2095 | | |
| |||
2105 | 2105 | | |
2106 | 2106 | | |
2107 | 2107 | | |
| 2108 | + | |
2108 | 2109 | | |
2109 | 2110 | | |
2110 | 2111 | | |
| |||
2124 | 2125 | | |
2125 | 2126 | | |
2126 | 2127 | | |
2127 | | - | |
| 2128 | + | |
2128 | 2129 | | |
2129 | 2130 | | |
2130 | 2131 | | |
| |||
2134 | 2135 | | |
2135 | 2136 | | |
2136 | 2137 | | |
| 2138 | + | |
2137 | 2139 | | |
2138 | 2140 | | |
2139 | 2141 | | |
| |||
0 commit comments