[U-Boot] [PATCH v3 00/10] sunxi: Bug fixes, sun4i and sun5i support and network improvements

Tom Rini
2014-07-07T20:45:39Z

On Mon, Jul 07, 2014 at 09:23:13PM +0100, Ian Campbell wrote:
> On Mon, 2014-07-07 at 12:47 -0400, Tom Rini wrote:
> > That's not how we like things to look however when we can help it. Just
> > toss a __maybe_unused in front of the declaration (and make sure we have
> > <linux/compiler.h> included.
>
> OK. How about the following?
>
> Hans, BTW, I spotted this issue with:
> CROSS_COMPILE=arm-linux-gnueabihf- ./MAKEALL -s sunxi
> which is a very useful invocation indeed!

FWIW, you might want to run -a arm from time to time since there's some
shared drivers between sunxi and others.

> From 5e0659b772380114a9e86624aefd1dcb09a90bd9 Mon Sep 17 00:00:00 2001
> From: Ian Campbell <ijc@hellion.org.uk>
> Date: Sun, 6 Jul 2014 20:03:20 +0100
> Subject: [PATCH] sunxi: Avoid unused variable warning.
>
> Mark rc as __maybe_unused since it is infact unused on systems with neither
> EMAC nor GMAC.
>
> Signed-off-by: Ian Campbell <ijc@hellion.org.uk>

Acked-by: Tom Rini <trini@ti.com>

Thanks.

--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140707/57d17129/attachment.pgp>