Skip to contentSkip to conversation

staging: mt7621-dma: Possible unnecessary 'out of memory' message

PATCH In review Gokce Kuler 2 participants 2 messages Mar 20, 2020 – Mar 21, 2020

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

PATCH 1/1 staging: mt7621-dma: Possible unnecessary 'out of memory' message

Delete unnecessary 'out of memory' message

---
 drivers/staging/mt7621-dma/mtk-hsdma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/mt7621-dma/mtk-hsdma.c +1 -1
index 47f7784..14a3215 100644
@@ -467,7 +467,7 @@ static struct dma_async_tx_descriptor *mtk_hsdma_prep_dma_memcpy(
 
 	desc = kzalloc(sizeof(*desc), GFP_ATOMIC);
 	if (!desc) {
-		dev_err(c->device->dev, "alloc memcpy decs error\n");
+		dev_err(c->device->dev );
 		return NULL;
 	}
 
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 12 lines · Gokce Kuler

Delete unnecessary 'out of memory' message

---
 drivers/staging/mt7621-dma/mtk-hsdma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/mt7621-dma/mtk-hsdma.c +0 -0
index 47f7784..14a3215 100644

drivers/staging/mt7621-dma/mtk-hsdma.c static struct dma_async_tx_descriptor *mtk_hsdma_prep_dma_memcpy( · line 470

Quoted 5 lines
drivers/staging/mt7621-dma/mtk-hsdma.c +1 -1
@@ -467,7 +467,7 @@ static struct dma_async_tx_descriptor *mtk_hsdma_prep_dma_memcpy(
 
 	desc = kzalloc(sizeof(*desc), GFP_ATOMIC);
 	if (!desc) {
-		dev_err(c->device->dev, "alloc memcpy decs error\n");
+		dev_err(c->device->dev );

Did you build this file after this change? I don't think so :(