Re: [PATCH 2/6] pcmcia/3c574_cs: Fix 'shadow variable' warning

From: Alan Cox
Date: Tue Dec 11 2007 - 08:28:20 EST


On Tue, 11 Dec 2007 05:32:43 +0100 (MET)
Richard Knutsson <ricknu-0@xxxxxxxxxxxxxx> wrote:

> Fixing:
> CHECK drivers/net/pcmcia/3c574_cs.c
> drivers/net/pcmcia/3c574_cs.c:695:7: warning: symbol 'i' shadows an earlier one
> drivers/net/pcmcia/3c574_cs.c:636:6: originally declared here
>
> Signed-off-by: Richard Knutson <ricknu-0@xxxxxxxxxxxxxx>

For 2/3/4/5/6:

Acked-by: Alan Cox <alan@xxxxxxxxxx>

Not sure I agree with the first patch though.
--
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/