From: Stephane Wirtel <stephane.wirtel@belgacom.net>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.4.20-pre2 compile error
Date: Tue, 13 Aug 2002 13:01:38 +0200 [thread overview]
Message-ID: <20020813110138.GF31522@stargate.lan> (raw)
In-Reply-To: <Pine.NEB.4.44.0208131236140.14606-100000@mimas.fachschaften.tu-muenchen.de>
are you sure that the "int number" is employed only by devfs?
On mar, 13 aoû 2002, Adrian Bunk wrote:
> On Tue, 13 Aug 2002, Stephane Wirtel wrote:
>
> > are you sure about the patch ?
>
> It seems to be correct and I can verify both the compile error and that
> this patch fixes it. What do you consider to be wrong?
>
> > best regards
>
> cu
> Adrian
>
> > On mar, 13 aoû 2002, Adrian Bunk wrote:
> > > On Tue, 13 Aug 2002, Chad Young wrote:
> > >
> > > > any idea what causes these errors?
> > > >
> > > > make[3]: Entering directory
> > > > `/home/skidley/kernel/linux-2.4.20-pre2/fs/partitions'
> > > > gcc -D__KERNEL__ -I/home/skidley/kernel/linux-2.4.20-pre2/include -Wall
> > > > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> > > > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
> > > > -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include
> > > > -DKBUILD_BASENAME=check -DEXPORT_SYMTAB -c check.c
> > > > check.c: In function `devfs_register_disc':
> > > > check.c:328: structure has no member named `number'
> > > > check.c:329: structure has no member named `number'
> > > > check.c: In function `devfs_register_partitions':
> > > > check.c:361: structure has no member named `number'
> > > >...
> > >
> > > The following patch made by Christoph Hellwig fixes it:
> > >
> > >
> > > --- linux-2.4.20-bk-20020810/include/linux/genhd.h Sat Aug 10 14:37:16 2002
> > > +++ linux/include/linux/genhd.h Mon Aug 12 23:40:37 2002
> > > @@ -62,7 +62,9 @@ struct hd_struct {
> > > unsigned long start_sect;
> > > unsigned long nr_sects;
> > > devfs_handle_t de; /* primary (master) devfs entry */
> > > -
> > > +#ifdef CONFIG_DEVFS_FS
> > > + int number;
> > > +#endif /* CONFIG_DEVFS_FS */
> > > #ifdef CONFIG_BLK_STATS
> > > /* Performance stats: */
> > > unsigned int ios_in_flight;
> > >
>
> -
> 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/
>
--
Stephane Wirtel <stephane.wirtel@belgacom.net>
Web : www.linux-mons.be "Linux Is Not UniX !!!"
next prev parent reply other threads:[~2002-08-13 10:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-13 5:31 Linux 2.4.20-pre2 compile error Chad Young
2002-08-13 8:28 ` Adrian Bunk
2002-08-13 10:30 ` Stephane Wirtel
2002-08-13 10:38 ` Adrian Bunk
2002-08-13 11:01 ` Stephane Wirtel [this message]
2002-08-13 11:32 ` Christoph Hellwig
2002-08-13 16:21 ` Ruth Ivimey-Cook
2002-08-13 22:05 ` Brad Hards
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=20020813110138.GF31522@stargate.lan \
--to=stephane.wirtel@belgacom.net \
--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 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.