linux/drivers/s390
Jan Höppner 0b3644b475 s390/dasd: Use dev_err() over printk()
To reduce the information required for the string generation in the
sense dump functions, use the more concise dev_err() variant over
printk(KERN_ERR, ...) to improve code readability.

The dev_err() function provides the component and device name for free
and the separate dev_name() calls as well as the PRINTK_HEADER can be
dropped.

Dropping PRINTK_HEADER removes the "dasd(eckd):" for all lines. Only the
first line of a dev_err() call is prefixed with the component and device
(e.g. "dasd-eckd 0.0.95d0:").

The format specifier for printed pointers is also changed to unhashed
(%px) as this can help with debugging and servicing.

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-7-sth@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-02-08 10:12:01 -07:00
..
block s390/dasd: Use dev_err() over printk() 2024-02-08 10:12:01 -07:00
char TTY/Serial changes for 6.8-rc1 2024-01-18 11:37:24 -08:00
cio s390 updates for 6.8 merge window 2024-01-10 18:18:20 -08:00
crypto s390/vfio-ap: do not reset queue removed from host config 2024-01-17 13:53:06 +01:00
net net/smc: manage system EID in SMC stack instead of ISM driver 2023-12-26 20:24:33 +00:00
scsi scsi: zfcp: Replace strlcpy() with strscpy() 2023-12-05 21:01:52 -05:00
virtio s390/airq: remove lsi_mask from airq_struct 2023-08-30 11:03:28 +02:00
Makefile s390: remove pointless drivers-y in drivers/s390/Makefile 2019-09-16 13:21:51 +02:00