Skip to contentSkip to conversation

scsi: mpt3sas: Remove trailing space after \n newline

PATCH Applied Colin Ian King 2 participants 2 messages Sep 2, 2024 – Sep 13, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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.

---

V2: join split literal strings into one as noted by Christophe Jaillet

---
 drivers/scsi/mpt3sas/mpt3sas_base.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/scsi/mpt3sas/mpt3sas_base.c +2 -3
index 9a24f7776d64..ed5046593fda 100644
@@ -8898,9 +8898,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 +
Signature · 1 line
2.39.2
#1 lore raw

Colin,

Quoted 2 lines

There is a extraneous space after a newline in an ioc_info message. Remove it and join to split literal strings into one.

Applied to 6.12/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering