drivers/scsi/lpfc/lpfc_sli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
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(-)
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;
}
--
2.39.2
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
--
Martin K. Petersen Oracle Linux Engineering
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 Oracle Linux Engineering
© 2016 - 2025 Red Hat, Inc.