]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/nospec: Switch over to sysfs_emit()
authorMete Durlu <meted@linux.ibm.com>
Wed, 23 Oct 2024 12:10:58 +0000 (14:10 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 25 Oct 2024 14:03:24 +0000 (16:03 +0200)
commitc50262498dd16f5c1dae5f81f2132cb46f7c3f1b
tree55314c6306274f3f784fc7bfa1d8e9f0cc586460
parentd151f8f788a136a14e74ddd8654011d75f5b23b2
s390/nospec: Switch over to sysfs_emit()

Per Documentation/filesystems/sysfs.rst, sysfs_emit() is preferred over
sprintf for presenting attributes to user space. Convert the left-over
uses in the s390/nospec-sysfs code.

Signed-off-by: Mete Durlu <meted@linux.ibm.com>
Reviewed-by: Gerd Bayer <gbayer@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/nospec-sysfs.c