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>
This commit is contained in:

committed by
Martin K. Petersen

parent
d188e5db9d
commit
71a4a99231
@@ -623,8 +623,8 @@ struct asd_sas_event *sas_alloc_event(struct asd_sas_phy *phy)
|
||||
if (atomic_read(&phy->event_nr) > phy->ha->event_thres) {
|
||||
if (i->dft->lldd_control_phy) {
|
||||
if (cmpxchg(&phy->in_shutdown, 0, 1) == 0) {
|
||||
sas_printk("The phy%02d bursting events, shut it down.\n",
|
||||
phy->id);
|
||||
pr_notice("The phy%02d bursting events, shut it down.\n",
|
||||
phy->id);
|
||||
sas_notify_phy_event(phy, PHYE_SHUTDOWN);
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user