From: Adrian Bunk <bunk@fs.tum.de>
To: Alan Cox <alan@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: 2.5.67-ac1: fix compile error in mtdblock.c
Date: Tue, 8 Apr 2003 22:04:45 +0200 [thread overview]
Message-ID: <20030408200445.GM5046@fs.tum.de> (raw)
In-Reply-To: <200304081359.h38DxGi08829@devserv.devel.redhat.com>
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
next prev parent reply other threads:[~2003-04-08 19:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-08 13:59 Linux 2.5.67-ac1 Alan Cox
2003-04-08 20:04 ` Adrian Bunk [this message]
2003-04-08 20:57 ` 2.5.67-ac1: fix compile error in mtdblock.c Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030408200445.GM5046@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=alan@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox