]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/ipl: Switch over to sysfs_emit()
authorMete Durlu <meted@linux.ibm.com>
Wed, 23 Oct 2024 12:10:59 +0000 (14:10 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 25 Oct 2024 14:03:24 +0000 (16:03 +0200)
commit401721a54cbac2ae6a49be917258b969bb7be81d
treebb69e408a76702579cb05cfa31d5186759ccdf8e
parentc50262498dd16f5c1dae5f81f2132cb46f7c3f1b
s390/ipl: 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/ipl 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/ipl.c