lkml.org 
[lkml]   [2023]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] const_structs.checkpatch.pl: add kobj_type
On Sat, Feb 04, 2023 at 05:41:26AM +0000, Thomas Weißschuh wrote:
> Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.")
> the driver core allows the usage of const struct kobj_type.
>
> Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
> ---
> scripts/const_structs.checkpatch | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch
> index 1eeb7b42c5b9..dc39d938ea77 100644
> --- a/scripts/const_structs.checkpatch
> +++ b/scripts/const_structs.checkpatch
> @@ -35,6 +35,7 @@ iwl_ops
> kernel_param_ops
> kgdb_arch
> kgdb_io
> +kobj_type

Nice, I didn't realize we had such a list, thanks for this!

now queued up.

greg k-h

\
 
 \ /
  Last update: 2023-03-27 00:15    [W:0.024 / U:3.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site