mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] sysfs: constify bin_attribute argument of sysfs_bin_attr_simple_read()
@ 2024-12-05 17:35 Thomas Weißschuh
  2024-12-05 17:35 ` [PATCH 1/4] " Thomas Weißschuh
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Thomas Weißschuh @ 2024-12-05 17:35 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, Armin Wolf, Hans de Goede, Ilpo Järvinen,
	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, platform-driver-x86,
	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>
---
Thomas Weißschuh (4):
      sysfs: constify bin_attribute argument of sysfs_bin_attr_simple_read()
      platform/x86: wmi-bmof: Switch to 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 +-
 drivers/platform/x86/wmi-bmof.c       | 12 ++----------
 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 +-
 7 files changed, 11 insertions(+), 38 deletions(-)
---
base-commit: feffde684ac29a3b7aec82d2df850fbdbdee55e4
change-id: 20241122-sysfs-const-bin_attr-simple-7c0ddb2fcf12

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


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

end of thread, other threads:[~2024-12-13  7:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-05 17:35 [PATCH 0/4] sysfs: constify bin_attribute argument of sysfs_bin_attr_simple_read() Thomas Weißschuh
2024-12-05 17:35 ` [PATCH 1/4] " Thomas Weißschuh
2024-12-05 17:35 ` [PATCH 2/4] platform/x86: wmi-bmof: Switch to sysfs_bin_attr_simple_read() Thomas Weißschuh
2024-12-13  0:21   ` Armin Wolf
2024-12-13  7:43     ` Thomas Weißschuh
2024-12-05 17:35 ` [PATCH 3/4] btf: Switch vmlinux BTF attribute " Thomas Weißschuh
2024-12-09 17:43   ` Andrii Nakryiko
2024-12-05 17:35 ` [PATCH 4/4] btf: Switch module " Thomas Weißschuh
2024-12-09 17:45   ` Andrii Nakryiko

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

all inboxes | Powered by JetHome®