Re: [PATCH] ACPI: EC: fix compilation warning

From: Len Brown
Date: Sun Nov 30 2008 - 00:11:57 EST




On Sat, 29 Nov 2008, Alexey Starikovskiy wrote:

> Hannes Eder wrote:
> > Fix the warning introduced in commit
> > c5279dee26c0e8d7c4200993bfc4b540d2469598,
> > and give the dummy variable a more verbose name.
> Thanks!
> >
> > drivers/acpi/ec.c: In function 'acpi_ec_ecdt_probe':
> > drivers/acpi/ec.c:1015: warning: ISO C90 forbids mixed declarations and
> > code
> >
> > Signed-off-by: Hannes Eder <hannes@xxxxxxxxxxxxxx>
> Acked-by: Alexey Starikovskiy <astarikovskiy@xxxxxxx>

applied on top of 11880 fix in acpi-test.

thanks,
-len

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