[PATCH 0/4] drivers: hv: mark some sysfs attribute as const
From: Thomas Weißschuh
Date: Thu Apr 02 2026 - 11:22:12 EST
The sysfs attribute structures are never modified.
Mark them as const where possible.
This excludes the device attributes for now, as these will have their
own migration.
Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
---
Thomas Weißschuh (4):
drivers: hv: mark chan_attr_ring_buffer as const
drivers: hv: use ATTRIBUTE_GROUPS helper
drivers: hv: mark bus attributes as const
drivers: hv: mark channel attributes as const
drivers/hv/vmbus_drv.c | 43 ++++++++++++++++++++-----------------------
1 file changed, 20 insertions(+), 23 deletions(-)
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260331-sysfs-const-hv-cad05718c68a
Best regards,
--
Thomas Weißschuh <linux@xxxxxxxxxxxxxx>