Skip to content
Commit 904caa64 authored by Richard Henderson's avatar Richard Henderson Committed by Theodore Ts'o
Browse files

linux/random.h: Mark CONFIG_ARCH_RANDOM functions __must_check



We must not use the pointer output without validating the
success of the random read.

Reviewed-by: default avatarArd Biesheuvel <ardb@kernel.org>
Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20200110145422.49141-7-broonie@kernel.org


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 66f5ae89
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment