linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mtd: atmel_nand: fix the compile error which miss label "err_ecc_ioremap".
@ 2012-09-05  6:00 Josh Wu
  2012-09-05 10:24 ` Josh Wu
  0 siblings, 1 reply; 4+ messages in thread
From: Josh Wu @ 2012-09-05  6:00 UTC (permalink / raw)
  To: linux-mtd, linux-arm-kernel, dedekind1, plagnioj; +Cc: Josh Wu, nicolas.ferre


Signed-off-by: Josh Wu <josh.wu@atmel.com>
---
 drivers/mtd/nand/atmel_nand.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
index 6a5a35b..9144557 100644
--- a/drivers/mtd/nand/atmel_nand.c
+++ b/drivers/mtd/nand/atmel_nand.c
@@ -1399,7 +1399,7 @@ static int __init atmel_nand_probe(struct platform_device *pdev)
 	if (pdev->dev.of_node) {
 		res = atmel_of_init_port(host, pdev->dev.of_node);
 		if (res)
-			goto err_nand_ioremap;
+			goto err_ecc_ioremap;
 	} else {
 		memcpy(&host->board, pdev->dev.platform_data,
 		       sizeof(struct atmel_nand_data));
@@ -1560,6 +1560,7 @@ err_no_card:
 	platform_set_drvdata(pdev, NULL);
 	if (host->dma_chan)
 		dma_release_channel(host->dma_chan);
+err_ecc_ioremap:
 	iounmap(host->io_base);
 err_nand_ioremap:
 	kfree(host);
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] mtd: atmel_nand: fix the compile error which miss label "err_ecc_ioremap".
  2012-09-05  6:00 [PATCH] mtd: atmel_nand: fix the compile error which miss label "err_ecc_ioremap" Josh Wu
@ 2012-09-05 10:24 ` Josh Wu
  2012-09-10 16:14   ` Vikram Narayanan
  0 siblings, 1 reply; 4+ messages in thread
From: Josh Wu @ 2012-09-05 10:24 UTC (permalink / raw)
  To: Josh Wu; +Cc: nicolas.ferre, plagnioj, linux-mtd, linux-arm-kernel, dedekind1

Hi, all

This patch is for latest l2-mtd.git tree. It fixes the compile error 
after JC's commit: b654a9a4

On 9/5/2012 2:00 PM, Josh Wu wrote:
> Signed-off-by: Josh Wu <josh.wu@atmel.com>
> ---
>   drivers/mtd/nand/atmel_nand.c |    3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
> index 6a5a35b..9144557 100644
> --- a/drivers/mtd/nand/atmel_nand.c
> +++ b/drivers/mtd/nand/atmel_nand.c
> @@ -1399,7 +1399,7 @@ static int __init atmel_nand_probe(struct platform_device *pdev)
>   	if (pdev->dev.of_node) {
>   		res = atmel_of_init_port(host, pdev->dev.of_node);
>   		if (res)
> -			goto err_nand_ioremap;
> +			goto err_ecc_ioremap;
>   	} else {
>   		memcpy(&host->board, pdev->dev.platform_data,
>   		       sizeof(struct atmel_nand_data));
> @@ -1560,6 +1560,7 @@ err_no_card:
>   	platform_set_drvdata(pdev, NULL);
>   	if (host->dma_chan)
>   		dma_release_channel(host->dma_chan);
> +err_ecc_ioremap:
>   	iounmap(host->io_base);
>   err_nand_ioremap:
>   	kfree(host);

Best Regards,
Josh Wu

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] mtd: atmel_nand: fix the compile error which miss label "err_ecc_ioremap".
  2012-09-05 10:24 ` Josh Wu
@ 2012-09-10 16:14   ` Vikram Narayanan
  2012-09-11  7:06     ` Josh Wu
  0 siblings, 1 reply; 4+ messages in thread
From: Vikram Narayanan @ 2012-09-10 16:14 UTC (permalink / raw)
  To: Josh Wu; +Cc: linux-mtd, dedekind1

Hello,

On 9/5/2012 3:54 PM, Josh Wu wrote:
> Hi, all
>
> This patch is for latest l2-mtd.git tree. It fixes the compile error
> after JC's commit: b654a9a4

Please mention the above in the commit's description than keeping it empty.

> On 9/5/2012 2:00 PM, Josh Wu wrote:
>> Signed-off-by: Josh Wu <josh.wu@atmel.com>
>> ---
>> drivers/mtd/nand/atmel_nand.c | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
<snip>

Regards,
Vikram

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] mtd: atmel_nand: fix the compile error which miss label "err_ecc_ioremap".
  2012-09-10 16:14   ` Vikram Narayanan
@ 2012-09-11  7:06     ` Josh Wu
  0 siblings, 0 replies; 4+ messages in thread
From: Josh Wu @ 2012-09-11  7:06 UTC (permalink / raw)
  To: Vikram Narayanan; +Cc: linux-mtd, dedekind1

Hi, Vikram

On 9/11/2012 12:14 AM, Vikram Narayanan wrote:
> Hello,
>
> On 9/5/2012 3:54 PM, Josh Wu wrote:
>> Hi, all
>>
>> This patch is for latest l2-mtd.git tree. It fixes the compile error
>> after JC's commit: b654a9a4
>
> Please mention the above in the commit's description than keeping it 
> empty.

The commit is: b654a9a46fc2100b318050483f8c5b5d0f187303 (mtd: atmel 
nand: fix gpio missing request)
I will send the v2 patch which adds such information my commit message.

>
>> On 9/5/2012 2:00 PM, Josh Wu wrote:
>>> Signed-off-by: Josh Wu <josh.wu@atmel.com>
>>> ---
>>> drivers/mtd/nand/atmel_nand.c | 3 ++-
>>> 1 file changed, 2 insertions(+), 1 deletion(-)
> <snip>
>
> Regards,
> Vikram
>

Best Regards,
Josh Wu

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-11  7:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-05  6:00 [PATCH] mtd: atmel_nand: fix the compile error which miss label "err_ecc_ioremap" Josh Wu
2012-09-05 10:24 ` Josh Wu
2012-09-10 16:14   ` Vikram Narayanan
2012-09-11  7:06     ` Josh Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).