Add err_ecc_ioremap label to fix following errors:
---8<---
CC drivers/mtd/nand/atmel_nand.o
drivers/mtd/nand/atmel_nand.c: In function 'atmel_nand_probe':
drivers/mtd/nand/atmel_nand.c:1423: error: label 'err_ecc_ioremap' used but not defined
make[3]: *** [drivers/mtd/nand/atmel_nand.o] Error 1
make[2]: *** [drivers/mtd/nand] Error 2
make[1]: *** [drivers/mtd] Error 2
make: *** [drivers] Error 2
--->8---
switch to devm_xxx instead this will simplify the error patch and remove patch
Best Regards,
J.
From: Nicolas Ferre <hidden> Date: 2012-09-20 08:20:48
On 09/20/2012 07:23 AM, Jean-Christophe PLAGNIOL-VILLARD :
On 15:10 Tue 11 Sep , Josh Wu wrote:
quoted
Add err_ecc_ioremap label to fix following errors:
---8<---
CC drivers/mtd/nand/atmel_nand.o
drivers/mtd/nand/atmel_nand.c: In function 'atmel_nand_probe':
drivers/mtd/nand/atmel_nand.c:1423: error: label 'err_ecc_ioremap' used but not defined
make[3]: *** [drivers/mtd/nand/atmel_nand.o] Error 1
make[2]: *** [drivers/mtd/nand] Error 2
make[1]: *** [drivers/mtd] Error 2
make: *** [drivers] Error 2
--->8---
switch to devm_xxx instead this will simplify the error patch and remove patch
As far as I understand, it is a correction patch: so my advice would be
to take this patch for fixing the current code (for 3.7 if I recall well).
If we want to move to the new devm_xxx API, we can do it once the
current code is fixed.
Bye,
--
Nicolas Ferre
Hi, J.C
On 9/20/2012 1:23 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 15:10 Tue 11 Sep , Josh Wu wrote:
quoted
Add err_ecc_ioremap label to fix following errors:
---8<---
CC drivers/mtd/nand/atmel_nand.o
drivers/mtd/nand/atmel_nand.c: In function 'atmel_nand_probe':
drivers/mtd/nand/atmel_nand.c:1423: error: label 'err_ecc_ioremap' used but not defined
make[3]: *** [drivers/mtd/nand/atmel_nand.o] Error 1
make[2]: *** [drivers/mtd/nand] Error 2
make[1]: *** [drivers/mtd] Error 2
make: *** [drivers] Error 2
--->8---
switch to devm_xxx instead this will simplify the error patch and remove patch
understood. I will push a patch which use devm_xxx. That should remove
many code of the error handling. Thanks
Best Regards,
Josh Wu
Add err_ecc_ioremap label to fix following errors:
---8<---
CC drivers/mtd/nand/atmel_nand.o
drivers/mtd/nand/atmel_nand.c: In function 'atmel_nand_probe':
drivers/mtd/nand/atmel_nand.c:1423: error: label 'err_ecc_ioremap' used but not defined
make[3]: *** [drivers/mtd/nand/atmel_nand.o] Error 1
make[2]: *** [drivers/mtd/nand] Error 2
make[1]: *** [drivers/mtd] Error 2
make: *** [drivers] Error 2
--->8---
On Sun, 2012-09-23 at 15:41 +0300, Artem Bityutskiy wrote:
On Tue, 2012-09-11 at 15:10 +0800, Josh Wu wrote:
quoted
Add err_ecc_ioremap label to fix following errors:
---8<---
CC drivers/mtd/nand/atmel_nand.o
drivers/mtd/nand/atmel_nand.c: In function 'atmel_nand_probe':
drivers/mtd/nand/atmel_nand.c:1423: error: label 'err_ecc_ioremap' used but not defined
make[3]: *** [drivers/mtd/nand/atmel_nand.o] Error 1
make[2]: *** [drivers/mtd/nand] Error 2
make[1]: *** [drivers/mtd] Error 2
make: *** [drivers] Error 2
--->8---