From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Fix compiler warning in fdt_support.c
Date: Sun, 28 Nov 2010 12:42:44 +0100 [thread overview]
Message-ID: <20101128114244.B5B851352CD@gemini.denx.de> (raw)
In-Reply-To: <1290367174-380-1-git-send-email-dirk.behme@gmail.com>
Dear dirk.behme at googlemail.com,
In message <1290367174-380-1-git-send-email-dirk.behme@gmail.com> you wrote:
> From: Dirk Behme <dirk.behme@googlemail.com>
>
> Fix compiler warning
>
> fdt_support.c: In function 'of_bus_default_count_cells':
> fdt_support.c:957: warning: passing argument 1 of '__swab32p' discards qualifiers from pointer target type
> fdt_support.c:965: warning: passing argument 1 of '__swab32p' discards qualifiers from pointer target type
>
> be32_to_cpup() expects an 'u32 *' while prop is 'const u32 *'.
>
> Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
>
> ---
>
> Found while building 'omap3_beagle'.
Applied, thank.
Gerry, hope this is OK with you.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I object to intellect without discipline; I object to power without
constructive purpose.
-- Spock, "The Squire of Gothos", stardate 2124.5
next prev parent reply other threads:[~2010-11-28 11:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-21 19:19 [U-Boot] [PATCH] Fix compiler warning in fdt_support.c dirk.behme at googlemail.com
2010-11-28 9:10 ` Albert ARIBAUD
2010-11-28 11:42 ` Wolfgang Denk [this message]
2010-11-28 17:30 ` Gerald Van Baren
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=20101128114244.B5B851352CD@gemini.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/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