summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJan Höppner <hoeppner@linux.ibm.com>2024-02-08 19:42:48 +0300
committerJens Axboe <axboe@kernel.dk>2024-02-08 20:12:01 +0300
commit79ae56fc475869d636071f66d9e4ef2a3819eee6 (patch)
treea1f91a5d25f10682f0bbfad94863f093ee970c96 /scripts
parentc6c6c69df6598aacf3921f26f89b12d5e321ea83 (diff)
downloadlinux-79ae56fc475869d636071f66d9e4ef2a3819eee6.tar.xz
s390/dasd: Use dev_*() for device log messages
All log messages in dasd.c use the printk variants of pr_*(). They all add the name of the affected device manually to the log message. This can be simplified by using the dev_*() variants of printk, which include the device information and make a separate call to dev_name() unnecessary. The KMSG_COMPONENT and the pr_fmt() definition can be dropped. Note that this removes the "dasd: " prefix from the one pr_info() call in dasd_init(). However, the log message already provides all relevant information. 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-10-sth@linux.ibm.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions