Re: [PATCH 26/43] drivers/net/sfc: fix sparse warning: symbolshadows an earlier one

From: David Miller
Date: Tue Feb 17 2009 - 20:41:26 EST


From: Ben Hutchings <bhutchings@xxxxxxxxxxxxxx>
Date: Mon, 16 Feb 2009 00:38:20 +0000

> Hannes Eder wrote:
> > Impact: Move variable declaration as close to their usage as possible.
> >
> > Fix this sparse warning:
> > drivers/net/sfc/tenxpress.c:589:22: warning: symbol 'link_ok' shadows an earlier one
> > drivers/net/sfc/tenxpress.c:575:30: originally declared here
> >
> > Signed-off-by: Hannes Eder <hannes@xxxxxxxxxxxxxx>
> Acked-by: Ben Hutchings <bhutchings@xxxxxxxxxxxxxx>

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