Skip to contentSkip to conversation

scsi: mpt3sas: Remove trailing space after \n newline

PATCH In review Colin Ian King 2 participants 2 messages Sep 2, 2024

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

PATCH 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.

---
 drivers/scsi/mpt3sas/mpt3sas_base.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/mpt3sas/mpt3sas_base.c +2 -2
index 9a24f7776d64..ebe4cbbc16e4 100644
@@ -8899,8 +8899,8 @@ _base_check_ioc_facts_changes(struct MPT3SAS_ADAPTER *ioc)
 		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);
+			    "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

Le 02/09/2024 à 16:36, Colin Ian King a écrit :

Quoted 13 lines

There is a extraneous space after a newline in an ioc_info message. Remove it.

---
  drivers/scsi/mpt3sas/mpt3sas_base.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/mpt3sas/mpt3sas_base.c +0 -0
index 9a24f7776d64..ebe4cbbc16e4 100644

drivers/scsi/mpt3sas/mpt3sas_base.c _base_check_ioc_facts_changes(struct MPT3SAS_ADAPTER *ioc) · line 8902

Quoted 6 lines
drivers/scsi/mpt3sas/mpt3sas_base.c +1 -2
@@ -8899,8 +8899,8 @@ _base_check_ioc_facts_changes(struct MPT3SAS_ADAPTER *ioc)
  		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);
+			    "device_remove_in_progress of sz: %d\n",

Hi,

I think that the 2 parts of the string should be put on the same line.

Another call just a few lines above is already written like that.

CJ

Quoted 4 lines
drivers/scsi/mpt3sas/mpt3sas_base.c +1 -0
+			    pd_handles_sz);
  			return -ENOMEM;
  		}
  		memset(device_remove_in_progress +