error make linux-source-2.6.10

Ante Karamatić ivoks at
Tue May 17 07:42:51 UTC 2005

On Fri, 2005-05-13 at 15:08 +0200, Olivier Ricou wrote:

>   CC      drivers/acpi/ec.o
> drivers/acpi/ec.c: In function `acpi_ec_gpe_query':
> drivers/acpi/ec.c:519: error: label at end of compound statement
> make[2]: *** [drivers/acpi/ec.o] Error 1
> make[1]: *** [drivers/acpi] Error 2
> make: *** [drivers] Error 2

> so I add a ; after the end: and it works, but I suggest that you
> correct this bug (and remove any goto :)

This isn't related to gcc, it's related to bad coding. It's a bug. You
can't start definiton of function (end:) and never finish it or, even
worse, not input anything.

I corected this with:


I'm not sure is this correct, but at least, it compiles.

Ante Karamatic|--|ivoks(@)|--|PGP: D3BDA225|--|ICQ: 64631782

More information about the kernel-team mailing list