* [PATCH] const_structs.checkpatch.pl: add kobj_type
@ 2023-02-04 5:41 Thomas Weißschuh
2023-02-08 12:33 ` Greg Kroah-Hartman
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Weißschuh @ 2023-02-04 5:41 UTC (permalink / raw)
To: Andy Whitcroft, Joe Perches, Dwaipayan Ray, Lukas Bulwahn,
Greg Kroah-Hartman
Cc: linux-kernel, Thomas Weißschuh
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
kset_uevent_ops
lock_manager_operations
machine_desc
---
base-commit: 0136d86b78522bbd5755f8194c97a987f0586ba5
change-id: 20230204-kobj_type-checkpatch-1efe8bb9aac9
Best regards,
--
Thomas Weißschuh <linux@weissschuh.net>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] const_structs.checkpatch.pl: add kobj_type
2023-02-04 5:41 [PATCH] const_structs.checkpatch.pl: add kobj_type Thomas Weißschuh
@ 2023-02-08 12:33 ` Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2023-02-08 12:33 UTC (permalink / raw)
To: Thomas Weißschuh
Cc: Andy Whitcroft, Joe Perches, Dwaipayan Ray, Lukas Bulwahn,
linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-08 12:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-04 5:41 [PATCH] const_structs.checkpatch.pl: add kobj_type Thomas Weißschuh
2023-02-08 12:33 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox