The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v4 0/2] sysfs: finalize the constification of 'struct bin_attribute'
@ 2025-08-11  9:13 Thomas Weißschuh
  2025-08-11  9:13 ` [PATCH v4 1/2] sysfs: remove bin_attribute::read_new/write_new() Thomas Weißschuh
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thomas Weißschuh @ 2025-08-11  9:13 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rafael J. Wysocki, Danilo Krummrich
  Cc: linux-kernel, Thomas Weißschuh

All users have been migrated to the new const types and variables.
Get rid of the transition machinery.

After applying, make sure no leftovers are left:
$ git grep bin_attrs_new
$ git grep read_new ':!drivers/block/swim_asm.S'
$ git grep write_new ':!drivers/cpufreq/powernow-k8.c' ':!drivers/s390/char/monwriter.c'

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Changes in v4:
- Drop already applied patches
- Rebase on v6.17-rc1
- Link to v3: https://lore.kernel.org/r/20250530-sysfs-const-bin_attr-final-v3-0-724bfcf05b99@weissschuh.net

Changes in v3:
- Drop already applied patches
- Constify internal references in fs/sysfs/file.c
- Update const_structs.checkpatch
- Rebase on linux-next/master
- Link to v2: https://lore.kernel.org/r/20250313-sysfs-const-bin_attr-final-v2-0-96284e1e88ce@weissschuh.net

Changes in v2:
- Rebase onto current driver-core-next.
- Remove prerequisites list from cover letter.
- Link to v1: https://lore.kernel.org/r/20250219-sysfs-const-bin_attr-final-v1-0-02828d86af3c@weissschuh.net

---
Thomas Weißschuh (2):
      sysfs: remove bin_attribute::read_new/write_new()
      sysfs: remove attribute_group::bin_attrs_new

 fs/sysfs/file.c       | 22 +++++-----------------
 include/linux/sysfs.h | 11 ++---------
 2 files changed, 7 insertions(+), 26 deletions(-)
---
base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
change-id: 20250217-sysfs-const-bin_attr-final-d9e4d0cf8a1d

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


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

end of thread, other threads:[~2025-08-19 11:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-11  9:13 [PATCH v4 0/2] sysfs: finalize the constification of 'struct bin_attribute' Thomas Weißschuh
2025-08-11  9:13 ` [PATCH v4 1/2] sysfs: remove bin_attribute::read_new/write_new() Thomas Weißschuh
2025-08-11  9:13 ` [PATCH v4 2/2] sysfs: remove attribute_group::bin_attrs_new Thomas Weißschuh
2025-08-19 11:12 ` [PATCH v4 0/2] sysfs: finalize the constification of 'struct bin_attribute' Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox