sysfs: constify bin_attribute argument of sysfs_bin_attr_simple_read()
Get series with b4
b4 am 20241228-sysfs-const-bin_attr-simple-v2-0-7c6f3f1767a3@weissschuh.net change-id 20241122-sysfs-const-bin_attr-simple-7c0ddb2fcf12Versions newest first
- v2 Latest3 patches 12 repliesIn review
- v14 patches 4 repliesSuperseded
Changes in v2 from the cover letter
- 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
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | sysfs: constify bin_attribute argument of sysfs_bin_attr_simple_read()arch/ fs/ include/ +1 more | +5 | 4 replies | |
| 2/3 | btf: Switch vmlinux BTF attribute to sysfs_bin_attr_simple_read()kernel/ | +2 | 0 replies | |
| 3/3 | btf: Switch module BTF attribute to sysfs_bin_attr_simple_read()kernel/ | +2 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Andrii Nakryiko | Aditya Gupta | Mahesh Salgaonkar | Madhavan Srinivasan |
|---|---|---|---|---|
| 1/3 | T-b T-b | R-b | A-b | |
| 2/3 | A-b | |||
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v2 0/3] sysfs: constify bin_attribute argument of sysfs_bin_attr_simple_read()
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.
---
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,
Signature · 1 line
Thomas Weißschuh <[email protected]>