[PATCH 0/2] sysfs: attribute_group: allow registration of const bin_attribute
Posted by
Thomas Weißschuh
6 days, 18 hours ago
A small addition to the sysfs bin_attribute constification preparation.
While it's very late, it would be great if this could make it into 6.13
at it would speed up the tree-wide conversion process.
Based on driver-core/driver-core-next .
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (2):
sysfs: attribute_group: allow registration of const bin_attribute
driver core: Constify bin_attribute definitions
drivers/base/node.c | 8 ++++----
drivers/base/topology.c | 36 ++++++++++++++++++------------------
include/linux/sysfs.h | 5 ++++-
3 files changed, 26 insertions(+), 23 deletions(-)
---
base-commit: 369a9c046c2fdfe037f05b43b84c386bdbccc103
change-id: 20241114-b4-sysfs-const-bin_attr-group-0b784e775144
prerequisite-change-id: 20241028-sysfs-const-bin_attr-a00896481d0b:v2
prerequisite-patch-id: 3173126c01d3db719968b1dc25fbe44ec47215e5
prerequisite-patch-id: c3333053bd7fe677c526715dc6f88d5a7d863e04
prerequisite-patch-id: ae580d9ecb858d8c236a33f272708cac22a7bd9c
prerequisite-patch-id: 1f4297cf4707d54a1da28cd7dbe469590997bd53
prerequisite-patch-id: f5733e7d3f85bb2814cb803fbab68ad8cba316fd
prerequisite-patch-id: bfb9e4123f5e6e5aef82981552839b02cc2edc4a
prerequisite-patch-id: b0f61ee928efc513c42a157e4903e874d52bc57c
prerequisite-patch-id: 5e636e5921603f3c9f4855a4041442396893562e
prerequisite-patch-id: 81e7e41f68a963066675a5a5f669ded9d6485aa8
prerequisite-patch-id: 884429fbd146708c15464a007546dffafe51d060
Best regards,
--
Thomas Weißschuh <linux@weissschuh.net>
Re: [PATCH 0/2] sysfs: attribute_group: allow registration of const bin_attribute
Posted by
Greg Kroah-Hartman
6 days, 16 hours ago
On Fri, Nov 15, 2024 at 05:42:47PM +0100, Thomas Weißschuh wrote:
> A small addition to the sysfs bin_attribute constification preparation.
> While it's very late, it would be great if this could make it into 6.13
> at it would speed up the tree-wide conversion process.
Looks good, now queued up for 0-day testing, thanks!
greg k-h