From: David Gibson <dwg@au1.ibm.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: John Bonesio <bones@secretlab.ca>,
jdl@jdl.com, ppc-dev <linuxppc-dev@lists.ozlabs.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dtc: remove some warnings
Date: Fri, 26 Aug 2011 14:49:02 +1000 [thread overview]
Message-ID: <20110826044902.GJ2308@yookeroo.fritz.box> (raw)
In-Reply-To: <20110826112643.f86132d55edc5d452df3ebd0@canb.auug.org.au>
On Fri, Aug 26, 2011 at 11:26:43AM +1000, Stephen Rothwell wrote:
> I assume that these variables were used in the past but not removed when
> their usage was removed.
>
> Fixes these warnings:
>
> scripts/dtc/dtc.c: In function 'main':
> scripts/dtc/dtc.c:102:17: warning: variable 'check' set but not used [-Wunused-but-set-variable]
> scripts/dtc/flattree.c: In function 'flat_read_mem_reserve':
> scripts/dtc/flattree.c:700:14: warning: variable 'p' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Yeah, I noticed these gcc 4.6 warnings recently, but didn't get around
to sending a patch.
Jon, please apply. Uh.. except that this is a patch against the in
kernel dtc, rather than upstream.
--
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
next prev parent reply other threads:[~2011-08-26 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-26 1:26 [PATCH] dtc: remove some warnings Stephen Rothwell
2011-08-26 4:49 ` David Gibson [this message]
2011-08-26 5:34 ` Stephen Rothwell
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=20110826044902.GJ2308@yookeroo.fritz.box \
--to=dwg@au1.ibm.com \
--cc=bones@secretlab.ca \
--cc=jdl@jdl.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=sfr@canb.auug.org.au \
/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