]> www.infradead.org Git - nvme.git/commit
s390/qeth: convert sysfs snprintf to sysfs_emit
authorXuezhi Zhang <zhangxuezhi1@coolpad.com>
Tue, 27 Dec 2022 11:03:52 +0000 (19:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Dec 2022 12:10:42 +0000 (12:10 +0000)
commitc2052189f19bd98c80b5d46dc6e42330d2b3b35d
treee798f10efc890ae0c244df2cabd027d07ced69c0
parent0e3d18359ac117f2285c41bdf791cdc76b0fb0bb
s390/qeth: convert sysfs snprintf to sysfs_emit

Follow the advice of the Documentation/filesystems/sysfs.rst
and show() should only use sysfs_emit() or sysfs_emit_at()
when formatting the value to be returned to user space.

Signed-off-by: Xuezhi Zhang <zhangxuezhi1@coolpad.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_sys.c