scsi: libsas: Use pr_fmt(fmt)
In preparation for dropping the libsas printk wrappers, use pr_fmt(fmt) declaration to add the framework log prefix - "sas". Suggested-by: 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
1399846d4b
commit
d188e5db9d
@@ -375,7 +375,7 @@ static int sas_ata_printk(const char *level, const struct domain_device *ddev,
|
||||
vaf.fmt = fmt;
|
||||
vaf.va = &args;
|
||||
|
||||
r = printk("%ssas: ata%u: %s: %pV",
|
||||
r = printk("%s" SAS_FMT "ata%u: %s: %pV",
|
||||
level, ap->print_id, dev_name(dev), &vaf);
|
||||
|
||||
va_end(args);
|
||||
|
Reference in New Issue
Block a user