diff mbox series

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

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

Commit Message

Colin Ian King Sept. 2, 2024, 3 p.m. UTC
There is a extraneous space after a newline in two lpfc_printf_log
messages. Remove the space.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/scsi/lpfc/lpfc_sli.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Justin Tee Sept. 3, 2024, 4:20 p.m. UTC | #1
Reviewed-by: Justin Tee <justin.tee@broadcom.com>

Thanks looks fine.

Regards,
Justin
Martin K. Petersen Sept. 13, 2024, 12:29 a.m. UTC | #2
Colin,

> There is a extraneous space after a newline in two lpfc_printf_log
> messages. Remove the space.

Applied to 6.12/scsi-staging, thanks!
Martin K. Petersen Sept. 19, 2024, 3:52 p.m. UTC | #3
On Mon, 02 Sep 2024 16:00:42 +0100, Colin Ian King wrote:

> There is a extraneous space after a newline in two lpfc_printf_log
> messages. Remove the space.
> 
> 

Applied to 6.12/scsi-queue, thanks!

[1/1] scsi: lpfc: Remove trailing space after \n newline
      https://git.kernel.org/mkp/scsi/c/c7c846fa94c9
diff mbox series

Patch

diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index 332b8d2348e9..0e60eebe53b5 100644
--- a/drivers/scsi/lpfc/lpfc_sli.c
+++ b/drivers/scsi/lpfc/lpfc_sli.c
@@ -8818,7 +8818,7 @@  lpfc_sli4_hba_setup(struct lpfc_hba *phba)
 	rc = lpfc_sli4_queue_setup(phba);
 	if (unlikely(rc)) {
 		lpfc_printf_log(phba, KERN_ERR, LOG_TRACE_EVENT,
-				"0381 Error %d during queue setup.\n ", rc);
+				"0381 Error %d during queue setup.\n", rc);
 		goto out_stop_timers;
 	}
 	/* Initialize the driver internal SLI layer lists. */
@@ -21149,7 +21149,7 @@  lpfc_drain_txq(struct lpfc_hba *phba)
 		if (!piocbq) {
 			spin_unlock_irqrestore(&pring->ring_lock, iflags);
 			lpfc_printf_log(phba, KERN_ERR, LOG_TRACE_EVENT,
-				"2823 txq empty and txq_cnt is %d\n ",
+				"2823 txq empty and txq_cnt is %d\n",
 				txq_cnt);
 			break;
 		}