]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
padata: Constify padata_sysfs_entry structs
authorThomas Weißschuh <linux@weissschuh.net>
Fri, 26 Dec 2025 16:03:18 +0000 (17:03 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 23 Jan 2026 05:48:44 +0000 (13:48 +0800)
commitc1b12cd933a74d898fbb7b4cb38096cac1f6f04e
tree72460a261e3b5bcc2fca27365fc7e52b6e8c4daa
parenta3f8e00991f96ee7c3c77834258baa06a39fbbff
padata: Constify padata_sysfs_entry structs

These structs are never modified.

To prevent malicious or accidental modifications due to bugs,
mark them as const.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
kernel/padata.c