2023-01-27 11:04:05

by Herbert Xu

[permalink] [raw]
Subject: [PATCH] hwrng: starfive - Enable compile testing

Enable compile testing for jh7110. Also remove the dependency on
HW_RANDOM.

Signed-off-by: Herbert Xu <[email protected]>

diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 9924e2f35b69..ae508e96cfc2 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -551,8 +551,7 @@ config HW_RANDOM_CN10K

config HW_RANDOM_JH7110
tristate "StarFive JH7110 Random Number Generator support"
- depends on SOC_STARFIVE
- depends on HW_RANDOM
+ depends on SOC_STARFIVE || COMPILE_TEST
help
This driver provides support for the True Random Number
Generator in StarFive JH7110 SoCs.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


2023-01-27 11:13:56

by Conor Dooley

[permalink] [raw]
Subject: Re: [PATCH] hwrng: starfive - Enable compile testing

On Fri, Jan 27, 2023 at 07:03:21PM +0800, Herbert Xu wrote:
> Enable compile testing for jh7110. Also remove the dependency on
> HW_RANDOM.

Checked, the latter is because the whole menu is wrapped in a if
HW_RANDOM, so seems fair to me!
Reviewed-by: Conor Dooley <[email protected]>

Thanks,
Conor.


Attachments:
(No filename) (311.00 B)
signature.asc (228.00 B)
Download all attachments

2023-01-31 07:29:02

by Jia Jie Ho

[permalink] [raw]
Subject: RE: [PATCH] hwrng: starfive - Enable compile testing

> Enable compile testing for jh7110. Also remove the dependency on
> HW_RANDOM.
>
> Signed-off-by: Herbert Xu <[email protected]>
>

Reviewed-by: Jia Jie Ho <[email protected]>

Thanks,
Jia Jie