Re: [PATCH] slab gcc fix

From: Kurt Wall
Date: Wed Dec 14 2005 - 23:33:59 EST


On Tuesday 13 December 2005 04:39 pm, Andrew Morton wrote:
> Christoph Lameter <clameter@xxxxxxxxxxxx> wrote:
> > Since we no longer support 2.95, we can get rid of this ugly thing.
> >
> > Signed-off-by: Christoph Lameter <clameter@xxxxxxx>
> >
> > Index: linux-2.6.15-rc5-mm2/mm/slab.c
> > ===================================================================
> > --- linux-2.6.15-rc5-mm2.orig/mm/slab.c 2005-12-13 13:18:48.000000000
> > -0800 +++ linux-2.6.15-rc5-mm2/mm/slab.c 2005-12-13 13:19:11.000000000
> > -0800 @@ -265,11 +265,10 @@ struct array_cache {
> > unsigned int batchcount;
> > unsigned int touched;
> > spinlock_t lock;
> > - void *entry[0]; /*
> > + void *entry[]; /*
>
> There are hundreds of instances of this under include/. I think we just
> live with it.

Good kernel janitors task, perhaps?

Kurt
--
Loud burping while walking around the airport is prohibited in
Halstead, Kansas.
-
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/