aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <[email protected]>2020-02-21 08:48:49 +0000
committerIngo Molnar <[email protected]>2020-02-26 14:31:43 +0000
commitbe36f9e7517e17810ec369626a128d7948942259 (patch)
tree6e406504b5c2be8fd04d103a9a601ec0fa1da316 /tools/perf/builtin-annotate.c
parentefi/x86: Handle by-ref arguments covering multiple pages in mixed mode (diff)
downloadkernel-be36f9e7517e17810ec369626a128d7948942259.tar.gz
kernel-be36f9e7517e17810ec369626a128d7948942259.zip
efi: READ_ONCE rng seed size before munmap
This function is consistent with using size instead of seed->size (except for one place that this patch fixes), but it reads seed->size without using READ_ONCE, which means the compiler might still do something unwanted. So, this commit simply adds the READ_ONCE wrapper. Fixes: 636259880a7e ("efi: Add support for seeding the RNG from a UEFI ...") Signed-off-by: Jason A. Donenfeld <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Cc: [email protected] Cc: Ingo Molnar <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions