s390/qeth: Convert sysfs sprintf to sysfs_emit
authorThorsten Winkler <twinkler@linux.ibm.com>
Thu, 9 Feb 2023 11:04:23 +0000 (12:04 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 11 Feb 2023 03:49:53 +0000 (19:49 -0800)
commitdde8769b12110b7f636053bb70febfe25a9502c0
tree6791b37687ba0e86bd412c506b5840bd92834b25
parent180f5131743210aba452888cd16883993f440544
s390/qeth: Convert sysfs sprintf to sysfs_emit

Following the advice of the Documentation/filesystems/sysfs.rst.
All sysfs related show()-functions should only use sysfs_emit() or
sysfs_emit_at() when formatting the value to be returned to user space.

Reported-by: Jules Irenge <jbi.octave@gmail.com>
Reported-by: Joe Perches <joe@perches.com>
Reviewed-by: Alexandra Winter <wintera@linux.ibm.com>
Signed-off-by: Thorsten Winkler <twinkler@linux.ibm.com>
Signed-off-by: Alexandra Winter <wintera@linux.ibm.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/s390/net/qeth_core_sys.c
drivers/s390/net/qeth_l2_sys.c
drivers/s390/net/qeth_l3_sys.c