From: Thomas Weißschuh Date: Fri, 30 May 2025 03:54:35 +0000 (+0200) Subject: const_structs.checkpatch: add bin_attribute X-Git-Tag: v6.17-rc1~164^2~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2841ef8d9630fb9735bd219f15f33cd1c70cb0d1;p=thirdparty%2Flinux.git const_structs.checkpatch: add bin_attribute Now that the sysfs core can handle "const struct bin_attribute", make sure that new usages of the struct already enter the tree as const. Signed-off-by: Thomas Weißschuh Link: https://lore.kernel.org/r/20250530-sysfs-const-bin_attr-final-v3-1-724bfcf05b99@weissschuh.net Signed-off-by: Greg Kroah-Hartman --- diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch index e8609a03c3d8b..6eb94fddc338a 100644 --- a/scripts/const_structs.checkpatch +++ b/scripts/const_structs.checkpatch @@ -1,6 +1,7 @@ acpi_dock_ops address_space_operations backlight_ops +bin_attribute block_device_operations bus_type clk_ops