Messages in this thread Patch in this message | | | Date | Tue, 8 Apr 2003 22:04:45 +0200 | From | Adrian Bunk <> | Subject | 2.5.67-ac1: fix compile error in mtdblock.c |
| |
With CONFIG_DEVFS_FS enabled compilation of 2.5.67-ac1 fails as follows:
<-- snip -->
... gcc -Wp,-MD,drivers/mtd/.mtdblock.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include -DKBUILD_BASENAME=mtdblock -DKBUILD_MODNAME=mtdblock -c -o drivers/mtd/mtdblock.o drivers/mtd/mtdblock.c drivers/mtd/mtdblock.c: In function `mtd_notify_add': drivers/mtd/mtdblock.c:531: `name' undeclared (first use in this function) drivers/mtd/mtdblock.c:531: (Each undeclared identifier is reported only once drivers/mtd/mtdblock.c:531: for each function it appears in.) make[2]: *** [drivers/mtd/mtdblock.o] Error 1
<-- snip -->
Please _remove_ the following patch from -ac:
--- linux-2.5.67/drivers/mtd/mtdblock.c 2003-04-08 00:37:36.000000000 +0100 +++ linux-2.5.67-ac1/drivers/mtd/mtdblock.c 2003-04-08 14:15:14.000000000 +0100 @@ -523,7 +523,6 @@ static void mtd_notify_add(struct mtd_info* mtd) { struct gendisk *disk; - char name[16]; if (!mtd || mtd->type == MTD_ABSENT) return;
cu Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |