Re: [PATCH 0/7] EDAC: Sysfs attribute constification and some cleanups

From: Borislav Petkov

Date: Fri Mar 13 2026 - 08:20:16 EST


On Mon, Feb 23, 2026 at 10:16:27PM +0100, Thomas Weißschuh wrote:
> Move the sysfs attribute to read-only memory and perform some trivial
> cleanups.
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
> ---
> Thomas Weißschuh (7):
> EDAC/altera: Drop unused field eccmgr_sysfs_attr
> EDAC/device: Drop unused macro to_edacdev_attr()
> EDAC/device: Drop unnecessary and dangerous tasks of attributes
> EDAC/device: Constify info sysfs attributes
> EDAC/pci_sysfs: Constify instance sysfs attributes
> EDAC/device: All addition of sysfs attributes
> EDAC/mpc85xx: Constify device sysfs attributes
>
> drivers/edac/altera_edac.h | 1 -
> drivers/edac/edac_device.h | 2 +-
> drivers/edac/edac_device_sysfs.c | 24 ++++++++++--------------
> drivers/edac/edac_pci_sysfs.c | 10 +++++-----
> drivers/edac/mpc85xx_edac.c | 2 +-
> 5 files changed, 17 insertions(+), 22 deletions(-)
> ---

All queued.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette