Skip to contentSkip to conversation

const_structs.checkpatch.pl: add kobj_type

PATCH In review Thomas Weißschuh 2 participants 2 messages Feb 4, 2023 – Feb 8, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 const_structs.checkpatch.pl: add kobj_type

Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.") the driver core allows the usage of const struct kobj_type.

---
 scripts/const_structs.checkpatch | 1 +
 1 file changed, 1 insertion(+)
scripts/const_structs.checkpatch +1 -0
index 1eeb7b42c5b9..dc39d938ea77 100644
@@ -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,

Signature · 1 line
Thomas Weißschuh <[email protected]>
#1 lore raw
Quoted 13 lines · Thomas Weißschuh

Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.") the driver core allows the usage of const struct kobj_type.

---
 scripts/const_structs.checkpatch | 1 +
 1 file changed, 1 insertion(+)
scripts/const_structs.checkpatch +0 -0
index 1eeb7b42c5b9..dc39d938ea77 100644

scripts/const_structs.checkpatch iwl_ops · line 38

Quoted 4 lines
scripts/const_structs.checkpatch +1 -0
@@ -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