Re: [PATCH v3] random: do not include from random.h

Heiko Carstens
2022-11-04T14:37:36Z

On Thu, Nov 03, 2022 at 01:17:40PM +0100, Jason A. Donenfeld wrote:
> The <asm/archrandom.h> header is a random.c private detail, not
> something to be called by other code. As such, don't make it
> automatically available by way of random.h.
>
> Cc: Michael Ellerman <mpe@ellerman.id.au>
> Cc: Heiko Carstens <hca@linux.ibm.com>
> Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
> ---
> arch/powerpc/kernel/setup-common.c | 1 +
> arch/s390/kernel/setup.c | 1 +
> drivers/char/hw_random/s390-trng.c | 1 +
> drivers/char/random.c | 1 +
> include/linux/random.h | 2 --
> 5 files changed, 4 insertions(+), 2 deletions(-)

Acked-by: Heiko Carstens <hca@linux.ibm.com>