Skip to contentSkip to conversation

megaraid_sas: Remove trailing space after \n newline

PATCH Applied Colin Ian King 2 participants 3 messages Sep 2, 2024 – Sep 19, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 megaraid_sas: Remove trailing space after \n newline

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

---
 drivers/scsi/megaraid/megaraid_sas_base.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/megaraid/megaraid_sas_base.c +1 -1
index 6c79c350a4d5..4ecf5284c0fc 100644
@@ -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);
Signature · 1 line
2.39.2
#1 lore raw

Colin,

Quoted 2 lines

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

Applied to 6.12/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering