summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa.c
diff options
context:
space:
mode:
authorJulia Lawall2017-12-27 15:51:43 +0100
committerMartin K. Petersen2018-01-04 05:29:12 +0100
commitb4e9ce1c24934d58dab342d5db6240f7312e2fff (patch)
treeb5ac96f842b696cc83666b38181f798d3363b943 /drivers/scsi/hpsa.c
parentscsi: aacraid: Update driver version to 50877 (diff)
downloadkernel-qcow2-linux-b4e9ce1c24934d58dab342d5db6240f7312e2fff.tar.gz
kernel-qcow2-linux-b4e9ce1c24934d58dab342d5db6240f7312e2fff.tar.xz
kernel-qcow2-linux-b4e9ce1c24934d58dab342d5db6240f7312e2fff.zip
scsi: hpsa: drop unneeded newline
hpsa_show_dev_msg prints other information and a newline after the message string, so the message string does not need to include a newline explicitly. Done using Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Acked-by: Don Brace <don.brace@microsemi.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/hpsa.c')
-rw-r--r--drivers/scsi/hpsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index b0aa5dc1d54c..3bb819109a39 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -3518,7 +3518,7 @@ out:
if (rc != IO_OK)
hpsa_show_dev_msg(KERN_INFO, h, encl_dev,
- "Error, could not get enclosure information\n");
+ "Error, could not get enclosure information");
}
static u64 hpsa_get_sas_address_from_report_physical(struct ctlr_info *h,