]> www.infradead.org Git - users/jedix/linux-maple.git/commit
const_structs.checkpatch: add bin_attribute
authorThomas Weißschuh <linux@weissschuh.net>
Fri, 30 May 2025 03:54:35 +0000 (05:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jun 2025 08:44:07 +0000 (10:44 +0200)
commit2841ef8d9630fb9735bd219f15f33cd1c70cb0d1
treed8df098e218b908a5be701535de78c9b9179e4ec
parent2a1ea59de83bf367215e2a4dd9bf8bbd061349b3
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 <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20250530-sysfs-const-bin_attr-final-v3-1-724bfcf05b99@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/const_structs.checkpatch