Re: [PATCH] hwrng: cavium: Check health status while reading random data

From: Herbert Xu
Date: Fri Oct 29 2021 - 09:07:46 EST


On Sat, Oct 23, 2021 at 12:35:05AM +0530, Sunil Goutham wrote:
>
> diff --git a/drivers/char/hw_random/cavium-rng-vf.c b/drivers/char/hw_random/cavium-rng-vf.c
> index 3de4a6a..6f66919 100644
> --- a/drivers/char/hw_random/cavium-rng-vf.c
> +++ b/drivers/char/hw_random/cavium-rng-vf.c
>
> @@ -15,16 +12,146 @@
> #include <linux/pci.h>
> #include <linux/pci_ids.h>
>
> +#include <asm/arch_timer.h>

This breaks compile testing.

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt