On Thu, Jul 17, 2008 at 09:19:49PM +0300, Adrian Bunk wrote:
> gcc 4.3 correctly determines that input() is unused and gives the 
> following warning:
> 
> <--  snip  -->
> 
> ...
>   HOSTCC  arch/powerpc/boot/dtc-src/dtc-lexer.lex.o
> dtc-lexer.lex.c:1436: warning: ‘input’ defined but not used
> ...
> 
> <--  snip  -->
> 
> Fix it by adding %option noinput to 
> arch/powerpc/boot/dtc-src/dtc-lexer.l and 
> regeneration of arch/powerpc/boot/dtc-src/dtc-lexer.lex.c_shipped.
> 
> Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

Uh.. that should be fixed in dtc upstream.  It's probably time we
updated the in-kernel dtc from upstream anyway.

-- 
David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!
http://www.ozlabs.org/~dgibson
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to