Re: [PATCH] crypto: simplify one-level sysctl registration for crypto_sysctl_table

From: Herbert Xu
Date: Thu Mar 16 2023 - 23:30:29 EST


On Fri, Mar 10, 2023 at 03:21:50PM -0800, Luis Chamberlain wrote:
> There is no need to declare an extra tables to just create directory,
> this can be easily be done with a prefix path with register_sysctl().
>
> Simplify this registration.
>
> Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>
> ---
>
> If not clear, see this new doc:
>
> https://lore.kernel.org/all/20230310223947.3917711-1-mcgrof@xxxxxxxxxx/T/#u
>
> But the skinny is we can deprecate long term APIs from sysctl that
> uses recursion.
>
> crypto/fips.c | 11 +----------
> 1 file changed, 1 insertion(+), 10 deletions(-)

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