]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
samples/kobject: constify 'struct foo_attribute'
authorThomas Weißschuh <linux@weissschuh.net>
Wed, 29 Oct 2025 08:12:15 +0000 (09:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2025 14:16:35 +0000 (15:16 +0100)
commit2d76fdc1c91a95c23cd3e47a4fd4315f1633019b
tree5b6b86b617f11b58c86ff1fda4a8ab72220ca59d
parentc301a2e2d78c2c20d466c7e38568406471ede17d
samples/kobject: constify 'struct foo_attribute'

Showcase and test the new 'struct attribute' constification facilities.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://patch.msgid.link/20251029-sysfs-const-attr-prep-v5-6-ea7d745acff4@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
samples/kobject/kset-example.c