]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
padata: fix sysfs store callback check
authorThomas Weißschuh <linux@weissschuh.net>
Fri, 27 Dec 2024 22:32:01 +0000 (23:32 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 4 Jan 2025 00:53:47 +0000 (08:53 +0800)
commit9ff6e943bce67d125781fe4780a5d6f072dc44c0
treee1185862f0667e0c4cdf46664ef8de12a0a3c3f5
parent730f67d8b826d95bef74f255ee604ece9c94e48f
padata: fix sysfs store callback check

padata_sysfs_store() was copied from padata_sysfs_show() but this check
was not adapted. Today there is no attribute which can fail this
check, but if there is one it may as well be correct.

Fixes: 5e017dc3f8bc ("padata: Added sysfs primitives to padata subsystem")
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
kernel/padata.c