linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] sysfs: constify bin_attribute argument of sysfs_bin_attr_simple_read()
@ 2024-12-28  8:43 Thomas Weißschuh
  2024-12-28  8:43 ` [PATCH v2 1/3] " Thomas Weißschuh
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Thomas Weißschuh @ 2024-12-28  8:43 UTC (permalink / raw)
  To: Michael Ellerman, Nicholas Piggin, Christophe Leroy, Naveen N Rao,
	Madhavan Srinivasan, Greg Kroah-Hartman, Rafael J. Wysocki,
	Luis Chamberlain, Petr Pavlu, Sami Tolvanen, Daniel Gomez,
	Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	Martin KaFai Lau, Eduard Zingerman, Song Liu, Yonghong Song,
	John Fastabend, KP Singh, Stanislav Fomichev, Hao Luo, Jiri Olsa
  Cc: linuxppc-dev, linux-kernel, linux-modules, bpf,
	Thomas Weißschuh

Most users use this function through the BIN_ATTR_SIMPLE* macros,
they can handle the switch transparently.

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

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Changes in v2:
- Rebase on torvalds/master
- Drop wmi-bmof patch
- Pick up Acks from Andrii
- Link to v1: https://lore.kernel.org/r/20241205-sysfs-const-bin_attr-simple-v1-0-4a4e4ced71e3@weissschuh.net

---
Thomas Weißschuh (3):
      sysfs: constify bin_attribute argument of sysfs_bin_attr_simple_read()
      btf: Switch vmlinux BTF attribute to sysfs_bin_attr_simple_read()
      btf: Switch module BTF attribute to sysfs_bin_attr_simple_read()

 arch/powerpc/platforms/powernv/opal.c |  2 +-
 fs/sysfs/file.c                       |  2 +-
 include/linux/sysfs.h                 |  4 ++--
 kernel/bpf/btf.c                      | 15 ++-------------
 kernel/bpf/sysfs_btf.c                | 12 ++----------
 kernel/module/sysfs.c                 |  2 +-
 6 files changed, 9 insertions(+), 28 deletions(-)
---
base-commit: d6ef8b40d075c425f548002d2f35ae3f06e9cf96
change-id: 20241122-sysfs-const-bin_attr-simple-7c0ddb2fcf12

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



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

end of thread, other threads:[~2025-01-10 14:02 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-28  8:43 [PATCH v2 0/3] sysfs: constify bin_attribute argument of sysfs_bin_attr_simple_read() Thomas Weißschuh
2024-12-28  8:43 ` [PATCH v2 1/3] " Thomas Weißschuh
2025-01-02  5:37   ` Aditya Gupta
2025-01-02  5:41     ` Aditya Gupta
2025-01-03  8:55   ` Mahesh J Salgaonkar
2025-01-06 11:19   ` Madhavan Srinivasan
2024-12-28  8:43 ` [PATCH v2 2/3] btf: Switch vmlinux BTF attribute to sysfs_bin_attr_simple_read() Thomas Weißschuh
2024-12-28  8:43 ` [PATCH v2 3/3] btf: Switch module " Thomas Weißschuh
2024-12-31  0:50 ` [PATCH v2 0/3] sysfs: constify bin_attribute argument of sysfs_bin_attr_simple_read() Alexei Starovoitov
2024-12-31 10:30   ` Thomas Weißschuh
2025-01-08 17:45     ` Alexei Starovoitov
2025-01-09  7:56       ` Greg Kroah-Hartman
2025-01-09  8:06         ` Christoph Hellwig
2025-01-09  8:12           ` Greg Kroah-Hartman
2025-01-09  8:23             ` Christoph Hellwig
2025-01-10 14:02               ` 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;
as well as URLs for NNTP newsgroup(s).