[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZAsT4burgpA15qoF@gondor.apana.org.au>
Date: Fri, 10 Mar 2023 19:26:25 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Thomas Weißschuh <linux@...ssschuh.net>
Cc: steffen.klassert@...unet.com, daniel.m.jordan@...cle.com,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
linux@...ssschuh.net
Subject: Re: [PATCH] padata: Make kobj_type structure constant
Thomas Weißschuh <linux@...ssschuh.net> wrote:
> Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.")
> the driver core allows the usage of const struct kobj_type.
>
> Take advantage of this to constify the structure definition to prevent
> modification at runtime.
>
> Signed-off-by: Thomas Weißschuh <linux@...ssschuh.net>
> ---
> kernel/padata.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists