Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

scsi: pm8001: Fix pm8001_info() message format

Make the driver messages more readable by adding a space after the message
prefix ":" and removing the extra space between function name and line
number.

Link: https://lore.kernel.org/r/20220220031810.738362-32-damien.lemoal@opensource.wdc.com
Reviewed-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Damien Le Moal and committed by
Martin K. Petersen
b709a4ca ca44f98d

+1 -1
+1 -1
drivers/scsi/pm8001/pm8001_sas.h
··· 71 71 #define PM8001_IOERR_LOGGING 0x200 /* development io err message logging */ 72 72 73 73 #define pm8001_info(HBA, fmt, ...) \ 74 - pr_info("%s:: %s %d:" fmt, \ 74 + pr_info("%s:: %s %d: " fmt, \ 75 75 (HBA)->name, __func__, __LINE__, ##__VA_ARGS__) 76 76 77 77 #define pm8001_dbg(HBA, level, fmt, ...) \