Re: [PATCH] remove warning from drivers/net/irda/w83977af_ir.c

2000-12-09 Thread Rasmus Andersen
On Sat, Dec 09, 2000 at 04:46:15AM -0600, Peter Samuelson wrote: > > [Rasmus Andersen] > > -static struct w83977af_ir *dev_self[] = { NULL, NULL, NULL, NULL}; > > +static struct w83977af_ir *dev_self[]; > > How does the compiler know the size of the array? By reading my mind, I guess :( The fol

Re: [PATCH] remove warning from drivers/net/irda/w83977af_ir.c

2000-12-09 Thread Peter Samuelson
[Rasmus Andersen] > -static struct w83977af_ir *dev_self[] = { NULL, NULL, NULL, NULL}; > +static struct w83977af_ir *dev_self[]; How does the compiler know the size of the array? Peter - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL