]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
blk-mq: make blk_mq_hw_ctx_sysfs_entry instances const
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 16 Mar 2026 22:43:54 +0000 (23:43 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 18 Mar 2026 01:29:16 +0000 (19:29 -0600)
commit3141e0e536b43ab3555737cb2ee6ea1ed0aff69f
tree5f132d51546da6a39c20fe9d95d0da9a69cb9417
parentf00d826f1b8ee39a4e9283f2eb537f5b49e07829
blk-mq: make blk_mq_hw_ctx_sysfs_entry instances const

The blk_mq_hw_ctx_sysfs_entry structures are never modified,
mark them as const.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Link: https://patch.msgid.link/20260316-b4-sysfs-const-attr-block-v1-4-a35d73b986b0@weissschuh.net
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-sysfs.c