summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt3sas
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-08-15 15:51:45 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-08-25 04:28:59 +0200
commitbbaf61e2e9e8bf32fcc77497e4eb26122fdac553 (patch)
treeeddc7565866c9fa0a2c1398a816f9a2cccc9083e /drivers/scsi/mpt3sas
parentscsi: ses: make page2 support optional (diff)
downloadlinux-bbaf61e2e9e8bf32fcc77497e4eb26122fdac553.tar.xz
linux-bbaf61e2e9e8bf32fcc77497e4eb26122fdac553.zip
scsi: mpt3sas: fix pr_info message continuation
An optional discovery status should be printed with a pr_cont and needs a leading space to make it more readable. The final new line should also be a pr_cont and the indentation is out by one, so fix that too. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpt3sas')
-rw-r--r--drivers/scsi/mpt3sas/mpt3sas_base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c
index 8a44636ab0b5..87999905bca3 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_base.c
+++ b/drivers/scsi/mpt3sas/mpt3sas_base.c
@@ -615,9 +615,9 @@ _base_display_event_data(struct MPT3SAS_ADAPTER *ioc,
(event_data->ReasonCode == MPI2_EVENT_SAS_DISC_RC_STARTED) ?
"start" : "stop");
if (event_data->DiscoveryStatus)
- pr_info("discovery_status(0x%08x)",
+ pr_cont(" discovery_status(0x%08x)",
le32_to_cpu(event_data->DiscoveryStatus));
- pr_info("\n");
+ pr_cont("\n");
return;
}
case MPI2_EVENT_SAS_BROADCAST_PRIMITIVE: