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

Tom Rini trini at ti.com
Mon Jul 7 22:45:39 CEST 2014


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 at 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 at hellion.org.uk>

Acked-by: Tom Rini <trini at 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>


More information about the U-Boot mailing list