Skip to contentSkip to conversation

dmaengine: bcm2835: fix typo in legacy-mode warning message

PATCH Superseded kernel at martin.sperl.org 2 participants 2 messages Apr 21, 2016

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dmaengine: bcm2835: fix typo in legacy-mode warning message

From: Martin Sperl <[email protected]>

Fix typo in warning message that there is no "interrupt-names" property defined in the device-tree and legacy-mode is used.

---
 drivers/dma/bcm2835-dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma/bcm2835-dma.c +1 -1
index 9740151..d724393 100644
@@ -974,7 +974,7 @@ static int bcm2835_dma_probe(struct platform_device *pdev)
 
 		/* legacy device tree case handling */
 		dev_warn_once(&pdev->dev,
-			      "missing interrupts-names property in device tree - legacy interpretation is used");
+			      "missing interrupt-names property in device tree - legacy interpretation is used");
 		/*
 		 * in case of channel >= 11
 		 * use the 11th interrupt and that is shared
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 dmaengine: bcm2835: fix typo in legacy-mode warning message

Hi Martin,

Am 21.04.2016 um 11:24 schrieb kernel at martin.sperl.org:

Quoted 16 lines

From: Martin Sperl <[email protected]>

Fix typo in warning message that there is no "interrupt-names" property defined in the device-tree and legacy-mode is used.

---
 drivers/dma/bcm2835-dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma/bcm2835-dma.c +0 -0
index 9740151..d724393 100644

drivers/dma/bcm2835-dma.c static int bcm2835_dma_probe(struct platform_device *pdev) · line 977

Quoted 5 lines
drivers/dma/bcm2835-dma.c +1 -1
@@ -974,7 +974,7 @@ static int bcm2835_dma_probe(struct platform_device *pdev)
 
 		/* legacy device tree case handling */
 		dev_warn_once(&pdev->dev,
-			      "missing interrupts-names property in device tree - legacy interpretation is used");
+			      "missing interrupt-names property in device tree - legacy interpretation is used");

does it also misses a newline at the end?

Quoted 3 lines
drivers/dma/bcm2835-dma.c +0 -0
 		/*
 		 * in case of channel >= 11
 		 * use the 11th interrupt and that is shared