scsi: libsas: Drop sas_printk()
The printk wrapper sas_printk() adds little value now that libsas logs already have the "sas" prefix through pr_fmt(fmt), so just use pr_notice() directly. In addition, strings which span multiple lines are reunited. Originally-from: Joe Perches <joe@perches.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Cette révision appartient à :

révisé par
Martin K. Petersen

Parent
d188e5db9d
révision
71a4a99231
@@ -40,8 +40,6 @@
|
||||
|
||||
#define pr_fmt(fmt) SAS_FMT fmt
|
||||
|
||||
#define sas_printk(fmt, ...) printk(KERN_NOTICE fmt, ## __VA_ARGS__)
|
||||
|
||||
#define SAS_DPRINTK(fmt, ...) printk(KERN_DEBUG fmt, ## __VA_ARGS__)
|
||||
|
||||
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur