mbox series

[0/3] No longer default to HW_RANDOM when UML_RANDOM is the trigger

Message ID cover.1736946020.git.dsimic@manjaro.org (mailing list archive)
Headers show
Series No longer default to HW_RANDOM when UML_RANDOM is the trigger | expand

Message

Dragan Simic Jan. 15, 2025, 1:06 p.m. UTC
This is a small patch series that makes the already existing HW_RANDOM_*
options in the hw_random Kconfig selected by default only when the
UML_RANDOM option isn't already selected.  Having the HW_RANDOM_* options
selected doesn't make much sense for user-mode Linux (UML), which obviously
cannot make use of any HWRNG devices.

Along the way, some additional trivial cleanups of the hw_random Kconfig
file are also performed as spotted, in separate patches.

Dragan Simic (3):
  hwrng: Use tabs as leading whitespace consistently in Kconfig
  hwrng: Move one "tristate" Kconfig description to the usual place
  hwrng: Don't default to HW_RANDOM when UML_RANDOM is the trigger

 drivers/char/hw_random/Kconfig | 84 +++++++++++++++++-----------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Comments

Herbert Xu Feb. 9, 2025, 10:22 a.m. UTC | #1
On Wed, Jan 15, 2025 at 02:06:59PM +0100, Dragan Simic wrote:
> This is a small patch series that makes the already existing HW_RANDOM_*
> options in the hw_random Kconfig selected by default only when the
> UML_RANDOM option isn't already selected.  Having the HW_RANDOM_* options
> selected doesn't make much sense for user-mode Linux (UML), which obviously
> cannot make use of any HWRNG devices.
> 
> Along the way, some additional trivial cleanups of the hw_random Kconfig
> file are also performed as spotted, in separate patches.
> 
> Dragan Simic (3):
>   hwrng: Use tabs as leading whitespace consistently in Kconfig
>   hwrng: Move one "tristate" Kconfig description to the usual place
>   hwrng: Don't default to HW_RANDOM when UML_RANDOM is the trigger
> 
>  drivers/char/hw_random/Kconfig | 84 +++++++++++++++++-----------------
>  1 file changed, 42 insertions(+), 42 deletions(-)

Patches 1-2 applied.  Thanks.