]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sysfs: constify group arrays in function arguments
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 1 Mar 2026 12:30:17 +0000 (13:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Mar 2026 09:21:31 +0000 (10:21 +0100)
commitfe2511adb1fc1814df06ca11e0d8a92f792e4029
treed399975b423e23ed2cb45b2a3811a50712360830
parent15949f153059275d70a5448a17e429af51e3560c
sysfs: constify group arrays in function arguments

Constify the groups array argument where applicable. This allows to
pass constant arrays as arguments.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://patch.msgid.link/17035265-8882-4101-b7a7-16b3eb94f8b5@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/sysfs/group.c
include/linux/sysfs.h