Re: [PATCH] more work_struct mess

From: Olaf Hering
Date: Sat Dec 09 2006 - 15:26:41 EST


On Sat, Dec 09, Al Viro wrote:

> On Sat, Dec 09, 2006 at 12:25:10PM +0100, Olaf Hering wrote:
> > This is not enough to get it going:
> >
> > error: 'INIT_WORK' undeclared (first use in this function)
>
> .config?

Its a gcc bug. It doesnt like the number of arguments for INIT_WORK,
then it appearently tries to evaluate INIT_WORK again, or whatever.

sound/oss/dmasound/tas3001c.c:826:64: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
sound/oss/dmasound/tas3001c.c: In function 'tas3001c_init':
sound/oss/dmasound/tas3001c.c:826: error: 'INIT_WORK' undeclared (first use in this function)

Your patch will fix 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/