diff options
| author | Jan Höppner <[email protected]> | 2024-02-08 17:42:48 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-02-08 10:12:01 -0700 |
| commit | 79ae56fc475869d636071f66d9e4ef2a3819eee6 (patch) | |
| tree | a1f91a5d25f10682f0bbfad94863f093ee970c96 /tools/perf/scripts/python | |
| parent | c6c6c69df6598aacf3921f26f89b12d5e321ea83 (diff) | |
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 <[email protected]>
Reviewed-by: Stefan Haberland <[email protected]>
Signed-off-by: Stefan Haberland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions