From: jamie@jamieiles.com (Jamie Iles)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: Fix warning with gcc 4.5.1 in alignment fixup
Date: Thu, 6 Jan 2011 15:33:44 +0000 [thread overview]
Message-ID: <20110106153344.GM2946@pulham.picochip.com> (raw)
In-Reply-To: <1291753724-14437-1-git-send-email-jamie@jamieiles.com>
On Tue, Dec 07, 2010 at 08:28:44PM +0000, Jamie Iles wrote:
> With GCC 4.5.1 we get the following warning:
>
> CC arch/arm/mm/alignment.o
> arch/arm/mm/alignment.c: In function 'do_alignment':
> arch/arm/mm/alignment.c:720:21: warning: 'offset.un' may be used
> uninitialized in this function
>
> This warning is triggered for the LDM/STM instructions which don't have
> a register offset so set the offset to 0 to keep GCC happy.
>
> Cc: George G. Davis <gdavis@mvista.com>
> Cc: Min Zhang <mzhang@mvista.com>
> Signed-off-by: Jamie Iles <jamie@jamieiles.com>
> ---
Hi Russell,
Ok to send this one to the patch system?
Jamie
prev parent reply other threads:[~2011-01-06 15:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-07 20:28 [PATCH] ARM: Fix warning with gcc 4.5.1 in alignment fixup Jamie Iles
2010-12-08 2:55 ` George G. Davis
2011-01-06 15:33 ` Jamie Iles [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=20110106153344.GM2946@pulham.picochip.com \
--to=jamie@jamieiles.com \
--cc=linux-arm-kernel@lists.infradead.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