summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_ata.c
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2018-11-15 11:20:29 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2018-11-15 20:37:05 +0100
commitd188e5db9d274db4c183861438f883c1d74b0f16 (patch)
tree06b8a272f83473a3b1d15393cd186537d12cc7e7 /drivers/scsi/libsas/sas_ata.c
parentscsi: libsas: Delete sas_dump.{c, h} (diff)
downloadlinux-d188e5db9d274db4c183861438f883c1d74b0f16.tar.xz
linux-d188e5db9d274db4c183861438f883c1d74b0f16.zip
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>
Diffstat (limited to 'drivers/scsi/libsas/sas_ata.c')
-rw-r--r--drivers/scsi/libsas/sas_ata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libsas/sas_ata.c b/drivers/scsi/libsas/sas_ata.c
index 4f6cdf53e913..9f3521fae64e 100644
--- a/drivers/scsi/libsas/sas_ata.c
+++ b/drivers/scsi/libsas/sas_ata.c
@@ -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);