Skip to contentSkip to conversation

scsi: pm8001: Remove trailing space after \n newline

PATCH Applied Colin Ian King 3 participants 4 messages Sep 2, 2024 – Sep 19, 2024

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

PATCH 1/1 scsi: pm8001: Remove trailing space after \n newline

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

---
 drivers/scsi/pm8001/pm80xx_hwi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/pm8001/pm80xx_hwi.c +1 -1
index 8fe886dc5e47..a9869cd8c4c0 100644
@@ -2037,7 +2037,7 @@ mpi_ssp_completion(struct pm8001_hba_info *pm8001_ha, void *piomb)
 			atomic_dec(&pm8001_dev->running_req);
 		break;
 	}
-	pm8001_dbg(pm8001_ha, IO, "scsi_status = 0x%x\n ",
+	pm8001_dbg(pm8001_ha, IO, "scsi_status = 0x%x\n",
 		   psspPayload->ssp_resp_iu.status);
 	spin_lock_irqsave(&t->task_state_lock, flags);
 	t->task_state_flags &= ~SAS_TASK_STATE_PENDING;
Signature · 1 line
2.39.2
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Colin Ian King

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

Thx

Quoted 20 lines
---
 drivers/scsi/pm8001/pm80xx_hwi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/pm8001/pm80xx_hwi.c +1 -2
index 8fe886dc5e47..a9869cd8c4c0 100644
@@ -2037,7 +2037,7 @@ mpi_ssp_completion(struct pm8001_hba_info *pm8001_ha, void *piomb)
                        atomic_dec(&pm8001_dev->running_req);
                break;
        }
-       pm8001_dbg(pm8001_ha, IO, "scsi_status = 0x%x\n ",
+       pm8001_dbg(pm8001_ha, IO, "scsi_status = 0x%x\n",
                   psspPayload->ssp_resp_iu.status);
        spin_lock_irqsave(&t->task_state_lock, flags);
        t->task_state_flags &= ~SAS_TASK_STATE_PENDING;
--

2.39.2

#2 lore raw
In reply to Colin Ian King

Colin,

Quoted 2 lines

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

Applied to 6.12/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering