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

The blk_crypto_attrs 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-3-a35d73b986b0@weissschuh.net
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-crypto-sysfs.c