diff mbox series

[next] scsi: pm8001: Remove trailing space after \n newline

Message ID 20240902141537.308914-1-colin.i.king@gmail.com
State New
Headers show
Series [next] scsi: pm8001: Remove trailing space after \n newline | expand

Commit Message

Colin Ian King Sept. 2, 2024, 2:15 p.m. UTC
There is a extraneous space after a newline in a pm8001_dbg message.
Remove it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/scsi/pm8001/pm80xx_hwi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jinpu Wang Sept. 2, 2024, 2:19 p.m. UTC | #1
On Mon, Sep 2, 2024 at 4:15 PM Colin Ian King <colin.i.king@gmail.com> wrote:
>
> There is a extraneous space after a newline in a pm8001_dbg message.
> Remove it.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Thx
> ---
>  drivers/scsi/pm8001/pm80xx_hwi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/scsi/pm8001/pm80xx_hwi.c b/drivers/scsi/pm8001/pm80xx_hwi.c
> index 8fe886dc5e47..a9869cd8c4c0 100644
> --- a/drivers/scsi/pm8001/pm80xx_hwi.c
> +++ b/drivers/scsi/pm8001/pm80xx_hwi.c
> @@ -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
>
Martin K. Petersen Sept. 13, 2024, 12:26 a.m. UTC | #2
Colin,

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

Applied to 6.12/scsi-staging, thanks!
diff mbox series

Patch

diff --git a/drivers/scsi/pm8001/pm80xx_hwi.c b/drivers/scsi/pm8001/pm80xx_hwi.c
index 8fe886dc5e47..a9869cd8c4c0 100644
--- a/drivers/scsi/pm8001/pm80xx_hwi.c
+++ b/drivers/scsi/pm8001/pm80xx_hwi.c
@@ -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;