Re: 2.6.1-mm4

From: Andrew Morton
Date: Sun Jan 18 2004 - 03:17:36 EST


"J.A. Magallon" <jamagallon@xxxxxxx> wrote:
>
>
> On 01.18, Andrew Morton wrote:
> > "J.A. Magallon" <jamagallon@xxxxxxx> wrote:
> > >
> > > On 01.16, Andrew Morton wrote:
> > > >
> > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.1/2.6.1-mm4/
> > > >
> > > >
> > >
> > > Net driver problem:
> > >
> > > werewolf:/etc# modprobe --verbose 3c59x
> > > insmod /lib/modules/2.6.1-jam4/kernel/drivers/net/3c59x.ko
> > > FATAL: Error inserting 3c59x (/lib/modules/2.6.1-jam4/kernel/drivers/net/3c59x.ko): Invalid argument
> >
> > hmm, cute.
> >
>
> Yes.
> It worked.
> I thought of this, but why this and not the other parameters ? Compiler bug ?

Presumably, recent gcc's remove the variable altogether and just expand the
constant inline. When the central module code checks for the parameter's
existence in the module's symbol table it errors out.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/