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

Thomas Weißschuh posted 9 patches 1 year, 2 months ago
[PATCH bpf-next 4/9] const_structs.checkpatch: add bpf_struct_ops
Posted by Thomas Weißschuh 1 year, 2 months ago
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