Re: [genksyms patch 1/4] parser: fix the __attribute__ rule

From: Sam Ravnborg
Date: Wed Jul 30 2008 - 16:42:33 EST


On Mon, Jul 21, 2008 at 04:28:24AM +0200, Andreas Gruenbacher wrote:
> Gcc __attribute__ definitions may occur repeatedly, e.g.,
>
> static int foo __attribute__((__used__))
> __attribute__((aligned (16)));
>
> The genksyms parser does not understand this, and generates a syntax error.
> Fix this case.
>
> Signed-off-by: Andreas Gruenbacher <agruen@xxxxxxx>

Can I ask you to update the _shipped files and resend the patch.
I have only bison 2.1 available on my box and
I do not want to downgrade when regenerating the bison files.

To do it just do a:
make clean
make allmodconfig
make GENERATE_PARSER=1 modules

Drop the other _shipped files that are not relevant
(keywords.c and lex.c).

Sam
--
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/