Re: [PATCH] hwrng: cctrng - add missing include to linux/fips.h

From: Randy Dunlap
Date: Fri Apr 17 2020 - 17:34:56 EST


On 4/17/20 1:38 PM, Hadar Gat wrote:
> This fixes build failure when CONFIG_CRYPTO_FIPS is defined.
>
> Signed-off-by: Hadar Gat <hadar.gat@xxxxxxx>

Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> # build-tested

> ---
> drivers/char/hw_random/cctrng.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/char/hw_random/cctrng.c b/drivers/char/hw_random/cctrng.c
> index bdcd562..e82716c 100644
> --- a/drivers/char/hw_random/cctrng.c
> +++ b/drivers/char/hw_random/cctrng.c
> @@ -15,6 +15,7 @@
> #include <linux/completion.h>
> #include <linux/of.h>
> #include <linux/bitfield.h>
> +#include <linux/fips.h>
>
> #include "cctrng.h"
>
>

thanks.
--
~Randy