]> git.baikalelectronics.ru Git - kernel.git/commitdiff
scsi: pm8001: Fix pm8001_info() message format
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Sun, 20 Feb 2022 03:18:10 +0000 (12:18 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 23 Feb 2022 02:31:21 +0000 (21:31 -0500)
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>
drivers/scsi/pm8001/pm8001_sas.h

index 6bbf118f61e73dd766278f43dd05cf2dddebf093..d522bd0bb46bc362551ebc46ecf103f6dceb021c 100644 (file)
@@ -71,7 +71,7 @@
 #define PM8001_IOERR_LOGGING   0x200 /* development io err message logging */
 
 #define pm8001_info(HBA, fmt, ...)                                     \
-       pr_info("%s:: %s  %d:" fmt,                                     \
+       pr_info("%s:: %s %d: " fmt,                                     \
                (HBA)->name, __func__, __LINE__, ##__VA_ARGS__)
 
 #define pm8001_dbg(HBA, level, fmt, ...)                               \