s390/dasd: Use sysfs_emit() over sprintf()
authorJan Höppner <hoeppner@linux.ibm.com>
Thu, 8 Feb 2024 16:42:41 +0000 (17:42 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 8 Feb 2024 17:12:01 +0000 (10:12 -0700)
commit9c386d0f6e04fee1b4161e49f8e9f5756bcab04c
tree2388d6bc4932aa019e7e9101fe02c8fc74aaf650
parente5de34db1e95ef549236f9a2630d396a41c208a2
s390/dasd: Use sysfs_emit() over sprintf()

sysfs_emit() should be used in show() functions. There are still a
couple of functions that use sprintf().
Replace outstanding occurrences of sprintf() in all show() functions
with sysfs_emit().

Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Link: https://lore.kernel.org/r/20240208164248.540985-3-sth@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/s390/block/dasd_devmap.c