linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] sysfs: introduce and use macro BIN_ATTR_ADMIN_WO()
@ 2024-12-02 19:00 Thomas Weißschuh
  2024-12-02 19:00 ` [PATCH 1/5] sysfs: add " Thomas Weißschuh
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Thomas Weißschuh @ 2024-12-02 19:00 UTC (permalink / raw)
  To: Heiko Carstens, Vasily Gorbik, Alexander Gordeev,
	Christian Borntraeger, Sven Schnelle, Michael Ellerman,
	Nicholas Piggin, Christophe Leroy, Naveen N Rao,
	Madhavan Srinivasan, Tzung-Bi Shih, Brian Norris, Julius Werner,
	James E.J. Bottomley, Martin K. Petersen
  Cc: linux-kernel, linux-s390, linuxppc-dev, chrome-platform,
	linux-scsi, Thomas Weißschuh

For the bin_attribute constification effort it is useful to have
BIN_ATTR_ADMIN_WO() macro.
Introduce it and switch over all places in the tree which can make use
of it.

While at it also constify the bin_attribute callback parameters.

This series is meant to be applied through the driver core tree.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (5):
      sysfs: add macro BIN_ATTR_ADMIN_WO()
      s390/sclp_config: use BIN_ATTR_ADMIN_WO() for bin_attribute definition
      powerpc/powernv/flash: Use BIN_ATTR_ADMIN_WO() for bin_attribute definition
      firmware: google: gsmi: Use BIN_ATTR_ADMIN_WO() for bin_attribute definition
      scsi: arcmsr: Use BIN_ATTR_ADMIN_WO() for bin_attribute definitions

 arch/powerpc/platforms/powernv/opal-flash.c | 14 ++----
 drivers/firmware/google/gsmi.c              | 17 +++----
 drivers/s390/char/sclp_config.c             | 16 ++-----
 drivers/scsi/arcmsr/arcmsr_attr.c           | 73 ++++++++++-------------------
 include/linux/sysfs.h                       |  6 +++
 5 files changed, 49 insertions(+), 77 deletions(-)
---
base-commit: e70140ba0d2b1a30467d4af6bcfe761327b9ec95
change-id: 20241125-sysfs-const-bin_attr-admin_wo-9d466ff7eb42

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



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-12-05  9:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-02 19:00 [PATCH 0/5] sysfs: introduce and use macro BIN_ATTR_ADMIN_WO() Thomas Weißschuh
2024-12-02 19:00 ` [PATCH 1/5] sysfs: add " Thomas Weißschuh
2024-12-05  9:20   ` Tzung-Bi Shih
2024-12-02 19:00 ` [PATCH 2/5] s390/sclp_config: use BIN_ATTR_ADMIN_WO() for bin_attribute definition Thomas Weißschuh
2024-12-05  9:20   ` Tzung-Bi Shih
2024-12-02 19:00 ` [PATCH 3/5] powerpc/powernv/flash: Use " Thomas Weißschuh
2024-12-05  9:20   ` Tzung-Bi Shih
2024-12-02 19:00 ` [PATCH 4/5] firmware: google: gsmi: " Thomas Weißschuh
2024-12-05  9:21   ` Tzung-Bi Shih
2024-12-02 19:00 ` [PATCH 5/5] scsi: arcmsr: Use BIN_ATTR_ADMIN_WO() for bin_attribute definitions Thomas Weißschuh
2024-12-04 19:56   ` Martin K. Petersen
2024-12-05  9:21   ` Tzung-Bi Shih

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).