[PATCH v2 07/10] x86: Mark archrandom.h functions __must_check

2020-01-10 Thread Mark Brown
From: Richard Henderson We must not use the pointer output without validating the success of the random read. Reviewed-by: Ard Biesheuvel Signed-off-by: Richard Henderson Signed-off-by: Mark Brown --- arch/x86/include/asm/archrandom.h | 16 1 file changed, 8 insertions(+), 8

[PATCH v2 07/10] x86: Mark archrandom.h functions __must_check

2019-11-06 Thread Richard Henderson
We must not use the pointer output without validating the success of the random read. Reviewed-by: Ard Biesheuvel Signed-off-by: Richard Henderson --- arch/x86/include/asm/archrandom.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/x86/include/asm/arch