public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] block: make some sysfs attribute instances const
@ 2026-03-16 22:43 Thomas Weißschuh
  2026-03-16 22:43 ` [PATCH 1/4] block: make queue_sysfs_entry " Thomas Weißschuh
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Thomas Weißschuh @ 2026-03-16 22:43 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block, linux-kernel, Thomas Weißschuh

These attribute structures are never modified, mark them as const.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (4):
      block: make queue_sysfs_entry instances const
      block: ia-ranges: make blk_ia_range_sysfs_entry instances const
      blk-crypto: make blk_crypto_attr instances const
      blk-mq: make blk_mq_hw_ctx_sysfs_entry instances const

 block/blk-crypto-sysfs.c | 40 ++++++++++++++++++++--------------------
 block/blk-ia-ranges.c    |  6 +++---
 block/blk-mq-sysfs.c     | 10 +++++-----
 block/blk-sysfs.c        | 46 +++++++++++++++++++++++-----------------------
 4 files changed, 51 insertions(+), 51 deletions(-)
---
base-commit: 95c541ddfb0815a0ea8477af778bb13bb075079a
change-id: 20250628-b4-sysfs-const-attr-block-9cac3791238d
prerequisite-change-id: 20250114-sysfs-const-attr-prep-e9414982dc4f:v2
prerequisite-patch-id: e6bb942ab01bd8ea292bd728798170c9331fa3e7
prerequisite-patch-id: 233540a50b602b30a5a10bcaeb71127c416433b3
prerequisite-patch-id: 1a16da4318d82f598bc0b35932c9184f714e1c16
prerequisite-patch-id: 1b7ad00feff741bcb64df61a21af65f165927f8d
prerequisite-patch-id: 7a197a4d1524884a2c75a49f019f3b4535b2243c
prerequisite-patch-id: 9112b35d2ac7d0ae6f9f1cf5d2634884590507ab
prerequisite-patch-id: ab160b8b4f60f53923208365403102303f6390ff

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


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

end of thread, other threads:[~2026-03-18  1:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-16 22:43 [PATCH 0/4] block: make some sysfs attribute instances const Thomas Weißschuh
2026-03-16 22:43 ` [PATCH 1/4] block: make queue_sysfs_entry " Thomas Weißschuh
2026-03-17 16:18   ` John Garry
2026-03-16 22:43 ` [PATCH 2/4] block: ia-ranges: make blk_ia_range_sysfs_entry " Thomas Weißschuh
2026-03-17 16:19   ` John Garry
2026-03-16 22:43 ` [PATCH 3/4] blk-crypto: make blk_crypto_attr " Thomas Weißschuh
2026-03-17 16:30   ` John Garry
2026-03-16 22:43 ` [PATCH 4/4] blk-mq: make blk_mq_hw_ctx_sysfs_entry " Thomas Weißschuh
2026-03-17 16:31   ` John Garry
2026-03-18  1:32 ` [PATCH 0/4] block: make some sysfs attribute " Jens Axboe

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