From: David Gibson <david@gibson.dropbear.id.au>
To: Adrian Bunk <bunk@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>, linuxppc-dev@ozlabs.org
Subject: Re: [2.6 patch] powerpc/boot/dtc-src/dtc-lexer.l: add %option noinput
Date: Fri, 18 Jul 2008 13:43:55 +1000 [thread overview]
Message-ID: <20080718034355.GE18748@yookeroo.seuss> (raw)
In-Reply-To: <20080717181949.GC18326@cs181140183.pp.htv.fi>
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 <bunk@kernel.org>
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
prev parent reply other threads:[~2008-07-18 3:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-17 18:19 [2.6 patch] powerpc/boot/dtc-src/dtc-lexer.l: add %option noinput Adrian Bunk
2008-07-18 3:43 ` David Gibson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080718034355.GE18748@yookeroo.seuss \
--to=david@gibson.dropbear.id.au \
--cc=bunk@kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox