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

Thomas Weißschuh posted 7 patches 1 month, 3 weeks ago
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(-)
[PATCH 0/7] EDAC: Sysfs attribute constification and some cleanups
Posted by Thomas Weißschuh 1 month, 3 weeks ago
Move the sysfs attribute to read-only memory and perform some trivial
cleanups.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
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(-)
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260223-sysfs-const-edac-5360b96a8b6b

Best regards,
-- 
Thomas Weißschuh <linux@weissschuh.net>

Re: [PATCH 0/7] EDAC: Sysfs attribute constification and some cleanups
Posted by Borislav Petkov 1 month ago
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@weissschuh.net>
> ---
> 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