Re: 2.6.13-mm2

From: Marko Kohtala
Date: Sat Sep 10 2005 - 01:35:05 EST


On 9/9/05, Grant Coady <grant_lkml@xxxxxxxxxxx> wrote:
> Hi Andrew, Marko,
> On Fri, 9 Sep 2005 02:43:36 -0700, Andrew Morton <akpm@xxxxxxxx> wrote:
> >Grant Coady <grant_lkml@xxxxxxxxxxx> wrote:
> >> On Thu, 8 Sep 2005 05:30:42 -0700, Andrew Morton <akpm@xxxxxxxx> wrote:
> >>
> >> >ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13/2.6.13-mm2/
> >>
> >> Hi Andrew,
> >>
> >> After this error:
> >>
> >> CC drivers/parport/parport_pc.o
> >> drivers/parport/parport_pc.c:2511: error: via_686a_data causes a section type conflict
> >> drivers/parport/parport_pc.c:2520: error: via_8231_data causes a section type conflict
> >> drivers/parport/parport_pc.c:2705: error: parport_pc_superio_info causes a section type conflict
> >> drivers/parport/parport_pc.c:2782: error: cards causes a section type conflict
> >> make[2]: *** [drivers/parport/parport_pc.o] Error 1
> >> make[1]: *** [drivers/parport] Error 2
> >> make: *** [drivers] Error 2
> >
> >Yes, gcc 4.x doesn't like the consts for some reason.

And this was documented in linux/init.h: __devinitdata can not be
const. My mistake. Thanks for fixing it.
-
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/