]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/pci: Switch over to sysfs_emit
authorGerd Bayer <gbayer@linux.ibm.com>
Mon, 30 Sep 2024 11:41:43 +0000 (13:41 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Thu, 10 Oct 2024 13:32:43 +0000 (15:32 +0200)
commitbc7f911b033a6c33bc0c919c8d94e5f09717a2f8
tree315cf13533c0f5aea5829fda17bf17e7c28d9f10
parent31d1d8a35eeb9cd2a2ecd840304a6935e461c500
s390/pci: Switch over to sysfs_emit

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

Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Gerd Bayer <gbayer@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/pci/pci_sysfs.c