[PATCH bpf-next 4/9] const_structs.checkpatch: add bpf_struct_ops

From
Thomas Weißschuh <linux@weissschuh.net>
Date
2024-11-27 19:20:52
Also in
bpf, lkml, netdev
Reply to
Thomas Weißschuh, 2024-11-27
Now that the BPF core can handle "const struct bpf_struct_ops", make
sure that new usages of the struct already enter the tree as const.

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 014b3bfe32374880a5f0cbdcc2763c24ba47b5c7..1457067dbc18e2586f5ef0c8c44367cb3011731d 100644
--- a/scripts/const_structs.checkpatch
+++ b/scripts/const_structs.checkpatch
@@ -1,6 +1,7 @@
 acpi_dock_ops
 address_space_operations
 backlight_ops
+bpf_struct_ops
 block_device_operations
 bus_type
 clk_ops
-- 
2.47.1
Thread (11 messages) 11 messages, 2 authors, last reply 2024-11-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help