* [PATCH] MTD: atmel_nand: fix wrong use of 0 as NULL
@ 2011-06-29 16:41 ` Nicolas Ferre
0 siblings, 0 replies; 9+ messages in thread
From: Nicolas Ferre @ 2011-06-29 16:41 UTC (permalink / raw)
To: linux-mtd, linux-arm-kernel; +Cc: linux-kernel, hong.xu, Nicolas Ferre
Fixing this error:
atmel_nand.c:718:20: warning: Using plain integer as NULL pointer
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
drivers/mtd/nand/atmel_nand.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
index b300705..bbdf062 100644
--- a/drivers/mtd/nand/atmel_nand.c
+++ b/drivers/mtd/nand/atmel_nand.c
@@ -593,7 +593,7 @@ static int __init atmel_nand_probe(struct platform_device *pdev)
dma_cap_zero(mask);
dma_cap_set(DMA_MEMCPY, mask);
- host->dma_chan = dma_request_channel(mask, 0, NULL);
+ host->dma_chan = dma_request_channel(mask, NULL, NULL);
if (!host->dma_chan) {
dev_err(host->dev, "Failed to request DMA channel\n");
use_dma = 0;
--
1.7.3
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH] MTD: atmel_nand: fix wrong use of 0 as NULL
@ 2011-06-29 16:41 ` Nicolas Ferre
0 siblings, 0 replies; 9+ messages in thread
From: Nicolas Ferre @ 2011-06-29 16:41 UTC (permalink / raw)
To: linux-mtd, linux-arm-kernel; +Cc: hong.xu, Nicolas Ferre, linux-kernel
Fixing this error:
atmel_nand.c:718:20: warning: Using plain integer as NULL pointer
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
drivers/mtd/nand/atmel_nand.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
index b300705..bbdf062 100644
--- a/drivers/mtd/nand/atmel_nand.c
+++ b/drivers/mtd/nand/atmel_nand.c
@@ -593,7 +593,7 @@ static int __init atmel_nand_probe(struct platform_device *pdev)
dma_cap_zero(mask);
dma_cap_set(DMA_MEMCPY, mask);
- host->dma_chan = dma_request_channel(mask, 0, NULL);
+ host->dma_chan = dma_request_channel(mask, NULL, NULL);
if (!host->dma_chan) {
dev_err(host->dev, "Failed to request DMA channel\n");
use_dma = 0;
--
1.7.3
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH] MTD: atmel_nand: fix wrong use of 0 as NULL
@ 2011-06-29 16:41 ` Nicolas Ferre
0 siblings, 0 replies; 9+ messages in thread
From: Nicolas Ferre @ 2011-06-29 16:41 UTC (permalink / raw)
To: linux-arm-kernel
Fixing this error:
atmel_nand.c:718:20: warning: Using plain integer as NULL pointer
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
drivers/mtd/nand/atmel_nand.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
index b300705..bbdf062 100644
--- a/drivers/mtd/nand/atmel_nand.c
+++ b/drivers/mtd/nand/atmel_nand.c
@@ -593,7 +593,7 @@ static int __init atmel_nand_probe(struct platform_device *pdev)
dma_cap_zero(mask);
dma_cap_set(DMA_MEMCPY, mask);
- host->dma_chan = dma_request_channel(mask, 0, NULL);
+ host->dma_chan = dma_request_channel(mask, NULL, NULL);
if (!host->dma_chan) {
dev_err(host->dev, "Failed to request DMA channel\n");
use_dma = 0;
--
1.7.3
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] MTD: atmel_nand: fix wrong use of 0 as NULL
2011-06-29 16:41 ` Nicolas Ferre
(?)
@ 2011-06-30 1:06 ` Jean-Christophe PLAGNIOL-VILLARD
-1 siblings, 0 replies; 9+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-06-30 1:06 UTC (permalink / raw)
To: Nicolas Ferre; +Cc: linux-mtd, linux-arm-kernel, hong.xu, linux-kernel
On 18:41 Wed 29 Jun , Nicolas Ferre wrote:
> Fixing this error:
> atmel_nand.c:718:20: warning: Using plain integer as NULL pointer
>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Best Regards,
J.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] MTD: atmel_nand: fix wrong use of 0 as NULL
@ 2011-06-30 1:06 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 0 replies; 9+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-06-30 1:06 UTC (permalink / raw)
To: Nicolas Ferre; +Cc: hong.xu, linux-mtd, linux-kernel, linux-arm-kernel
On 18:41 Wed 29 Jun , Nicolas Ferre wrote:
> Fixing this error:
> atmel_nand.c:718:20: warning: Using plain integer as NULL pointer
>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Best Regards,
J.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH] MTD: atmel_nand: fix wrong use of 0 as NULL
@ 2011-06-30 1:06 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 0 replies; 9+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-06-30 1:06 UTC (permalink / raw)
To: linux-arm-kernel
On 18:41 Wed 29 Jun , Nicolas Ferre wrote:
> Fixing this error:
> atmel_nand.c:718:20: warning: Using plain integer as NULL pointer
>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Best Regards,
J.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] MTD: atmel_nand: fix wrong use of 0 as NULL
2011-06-29 16:41 ` Nicolas Ferre
(?)
@ 2011-06-30 11:49 ` Artem Bityutskiy
-1 siblings, 0 replies; 9+ messages in thread
From: Artem Bityutskiy @ 2011-06-30 11:49 UTC (permalink / raw)
To: Nicolas Ferre; +Cc: linux-mtd, linux-arm-kernel, hong.xu, linux-kernel
On Wed, 2011-06-29 at 18:41 +0200, Nicolas Ferre wrote:
> Fixing this error:
> atmel_nand.c:718:20: warning: Using plain integer as NULL pointer
>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Pushed to l2-mtd-2.6.git, thanks!
--
Best Regards,
Artem Bityutskiy
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] MTD: atmel_nand: fix wrong use of 0 as NULL
@ 2011-06-30 11:49 ` Artem Bityutskiy
0 siblings, 0 replies; 9+ messages in thread
From: Artem Bityutskiy @ 2011-06-30 11:49 UTC (permalink / raw)
To: Nicolas Ferre; +Cc: hong.xu, linux-mtd, linux-kernel, linux-arm-kernel
On Wed, 2011-06-29 at 18:41 +0200, Nicolas Ferre wrote:
> Fixing this error:
> atmel_nand.c:718:20: warning: Using plain integer as NULL pointer
>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Pushed to l2-mtd-2.6.git, thanks!
--
Best Regards,
Artem Bityutskiy
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH] MTD: atmel_nand: fix wrong use of 0 as NULL
@ 2011-06-30 11:49 ` Artem Bityutskiy
0 siblings, 0 replies; 9+ messages in thread
From: Artem Bityutskiy @ 2011-06-30 11:49 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, 2011-06-29 at 18:41 +0200, Nicolas Ferre wrote:
> Fixing this error:
> atmel_nand.c:718:20: warning: Using plain integer as NULL pointer
>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Pushed to l2-mtd-2.6.git, thanks!
--
Best Regards,
Artem Bityutskiy
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-06-30 11:49 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-29 16:41 [PATCH] MTD: atmel_nand: fix wrong use of 0 as NULL Nicolas Ferre
2011-06-29 16:41 ` Nicolas Ferre
2011-06-29 16:41 ` Nicolas Ferre
2011-06-30 1:06 ` Jean-Christophe PLAGNIOL-VILLARD
2011-06-30 1:06 ` Jean-Christophe PLAGNIOL-VILLARD
2011-06-30 1:06 ` Jean-Christophe PLAGNIOL-VILLARD
2011-06-30 11:49 ` Artem Bityutskiy
2011-06-30 11:49 ` Artem Bityutskiy
2011-06-30 11:49 ` Artem Bityutskiy
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.