summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2024-09-02 19:27:08 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2024-09-13 02:30:43 +0200
commit0557f49870714c8c8cddfdc3c4b805aeae6c3e4e (patch)
treee588f838a3cc67147935f3383c1d146842001593
parentscsi: lpfc: Remove trailing space after \n newline (diff)
downloadlinux-0557f49870714c8c8cddfdc3c4b805aeae6c3e4e.tar.xz
linux-0557f49870714c8c8cddfdc3c4b805aeae6c3e4e.zip
scsi: mpt3sas: Remove trailing space after \n newline
There is a extraneous space after a newline in an ioc_info message. Remove it and join to split literal strings into one. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Link: https://lore.kernel.org/r/20240902172708.369741-1-colin.i.king@gmail.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r--drivers/scsi/mpt3sas/mpt3sas_base.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c
index 2d3eeda5a6a0..fc013d7e3f2d 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_base.c
+++ b/drivers/scsi/mpt3sas/mpt3sas_base.c
@@ -8882,9 +8882,8 @@ _base_check_ioc_facts_changes(struct MPT3SAS_ADAPTER *ioc)
ioc->device_remove_in_progress, pd_handles_sz, GFP_KERNEL);
if (!device_remove_in_progress) {
ioc_info(ioc,
- "Unable to allocate the memory for "
- "device_remove_in_progress of sz: %d\n "
- , pd_handles_sz);
+ "Unable to allocate the memory for device_remove_in_progress of sz: %d\n",
+ pd_handles_sz);
return -ENOMEM;
}
memset(device_remove_in_progress +