]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
EDAC/device: Allow addition of const sysfs attributes
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 23 Feb 2026 21:16:33 +0000 (22:16 +0100)
committerBorislav Petkov (AMD) <bp@alien8.de>
Wed, 11 Mar 2026 21:33:38 +0000 (22:33 +0100)
commit2f1260c89347e45d2ebd05d930a71c6263f4a3b7
tree63589053f374fe15fe2f087b1c8b1ae40f01a5de
parentd2b7cdcd1d337cd915eee84453cdeeff0f205445
EDAC/device: Allow addition of const sysfs attributes

The generic EDAC sysfs code does not need to modify these structs.
Allow the drivers to add read-only ones.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20260223-sysfs-const-edac-v1-6-3ff0b87249e7@weissschuh.net
drivers/edac/edac_device.h
drivers/edac/edac_device_sysfs.c