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

Colin Ian King posted 1 patch 1 year, 3 months ago
drivers/scsi/megaraid/megaraid_sas_base.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH][next] megaraid_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_err message.
Remove it.

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

diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index 6c79c350a4d5..4ecf5284c0fc 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -6380,7 +6380,7 @@ static int megasas_init_fw(struct megasas_instance *instance)
 				GFP_KERNEL);
 			if (!fusion->stream_detect_by_ld[i]) {
 				dev_err(&instance->pdev->dev,
-					"unable to allocate stream detect by LD\n ");
+					"unable to allocate stream detect by LD\n");
 				for (j = 0; j < i; ++j)
 					kfree(fusion->stream_detect_by_ld[j]);
 				kfree(fusion->stream_detect_by_ld);
-- 
2.39.2
Re: [PATCH][next] megaraid_sas: Remove trailing space after \n newline
Posted by Martin K. Petersen 1 year, 3 months ago
On Mon, 02 Sep 2024 15:22:52 +0100, Colin Ian King wrote:

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

Applied to 6.12/scsi-queue, thanks!

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

-- 
Martin K. Petersen	Oracle Linux Engineering
Re: [PATCH][next] megaraid_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_err message.
> Remove it.

Applied to 6.12/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering