diff mbox series

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

Message ID 20240902142252.309232-1-colin.i.king@gmail.com (mailing list archive)
State Accepted
Commit 571d81b482f00dfe8912ecbc3de090f99181ee7a
Headers show
Series [next] megaraid_sas: Remove trailing space after \n newline | expand

Commit Message

Colin Ian King Sept. 2, 2024, 2:22 p.m. UTC
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(-)

Comments

Martin K. Petersen Sept. 13, 2024, 12:27 a.m. UTC | #1
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 Sept. 19, 2024, 3:52 p.m. UTC | #2
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
diff mbox series

Patch

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);