diff mbox series

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

Message ID 20241127-bpf-const-ops-v1-4-a698b8d58680@weissschuh.net (mailing list archive)
State New
Headers show
Series bpf: Constify BPF ops | expand

Commit Message

Thomas Weißschuh Nov. 27, 2024, 7:15 p.m. UTC
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 mbox series

Patch

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