* [PATCH] staging: mt7621-dma: Possible unnecessary 'out of memory' message
@ 2020-03-20 23:42 Gokce Kuler
2020-03-21 6:54 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Gokce Kuler @ 2020-03-20 23:42 UTC (permalink / raw)
To: outreachy-kernel; +Cc: gregkh
Delete unnecessary 'out of memory' message
Signed-off-by: Gokce Kuler <gokcekuler@gmail.com>
---
drivers/staging/mt7621-dma/mtk-hsdma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/mt7621-dma/mtk-hsdma.c b/drivers/staging/mt7621-dma/mtk-hsdma.c
index 47f7784..14a3215 100644
--- a/drivers/staging/mt7621-dma/mtk-hsdma.c
+++ b/drivers/staging/mt7621-dma/mtk-hsdma.c
@@ -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;
}
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] staging: mt7621-dma: Possible unnecessary 'out of memory' message
2020-03-20 23:42 [PATCH] staging: mt7621-dma: Possible unnecessary 'out of memory' message Gokce Kuler
@ 2020-03-21 6:54 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2020-03-21 6:54 UTC (permalink / raw)
To: Gokce Kuler; +Cc: outreachy-kernel
On Sat, Mar 21, 2020 at 02:42:34AM +0300, Gokce Kuler wrote:
> Delete unnecessary 'out of memory' message
>
> Signed-off-by: Gokce Kuler <gokcekuler@gmail.com>
> ---
> drivers/staging/mt7621-dma/mtk-hsdma.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/mt7621-dma/mtk-hsdma.c b/drivers/staging/mt7621-dma/mtk-hsdma.c
> index 47f7784..14a3215 100644
> --- a/drivers/staging/mt7621-dma/mtk-hsdma.c
> +++ b/drivers/staging/mt7621-dma/mtk-hsdma.c
> @@ -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 :(
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-21 6:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-20 23:42 [PATCH] staging: mt7621-dma: Possible unnecessary 'out of memory' message Gokce Kuler
2020-03-21 6:54 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.