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

Colin Ian King posted 1 patch 1 year, 3 months ago
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH][next] scsi: hisi_sas: Remove trailing space after \n newline
Posted by Colin Ian King 1 year, 3 months ago
There is a extraneous space after a newline in a dev_info message.
Remove it.

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

diff --git a/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c b/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
index feda9b54b443..4cd3a3eab6f1 100644
--- a/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
+++ b/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
@@ -2421,7 +2421,7 @@ static void slot_complete_v3_hw(struct hisi_hba *hisi_hba,
 		spin_lock_irqsave(&device->done_lock, flags);
 		if (test_bit(SAS_HA_FROZEN, &ha->state)) {
 			spin_unlock_irqrestore(&device->done_lock, flags);
-			dev_info(dev, "slot complete: task(%pK) ignored\n ",
+			dev_info(dev, "slot complete: task(%pK) ignored\n",
 				 task);
 			return;
 		}
-- 
2.39.2
Re: [PATCH][next] scsi: hisi_sas: Remove trailing space after \n newline
Posted by Martin K. Petersen 1 year, 3 months ago
On Mon, 02 Sep 2024 15:41:53 +0100, Colin Ian King wrote:

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

Applied to 6.12/scsi-queue, thanks!

[1/1] scsi: hisi_sas: Remove trailing space after \n newline
      https://git.kernel.org/mkp/scsi/c/d2ce0e5ab505

-- 
Martin K. Petersen	Oracle Linux Engineering
Re: [PATCH][next] scsi: hisi_sas: Remove trailing space after \n newline
Posted by Martin K. Petersen 1 year, 3 months ago
Colin,

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

Applied to 6.12/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering