From: linux@prisktech.co.nz (Tony Prisk)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: vt8500: Fix build warning in uncompress.h [for 3.7]
Date: Mon, 8 Oct 2012 09:08:11 +1300 [thread overview]
Message-ID: <1349640491-25606-1-git-send-email-linux@prisktech.co.nz> (raw)
This removes a build-time warning in uncompress.h due to incorrectly
cast values being passed to readb/writeb.
Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
---
arch/arm/mach-vt8500/include/mach/uncompress.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-vt8500/include/mach/uncompress.h b/arch/arm/mach-vt8500/include/mach/uncompress.h
index bb9e2d2..1344d9f 100644
--- a/arch/arm/mach-vt8500/include/mach/uncompress.h
+++ b/arch/arm/mach-vt8500/include/mach/uncompress.h
@@ -15,7 +15,7 @@
*
*/
-#define UART0_PHYS 0xd8200000
+#define UART0_PHYS (void *)0xd8200000
#include <asm/io.h>
static void putc(const char c)
--
1.7.9.5
next reply other threads:[~2012-10-07 20:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-07 20:08 Tony Prisk [this message]
2012-10-07 20:44 ` [PATCH] arm: vt8500: Fix build warning in uncompress.h [for 3.7] Tony Prisk
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=1349640491-25606-1-git-send-email-linux@prisktech.co.nz \
--to=linux@prisktech.co.nz \
--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;
as well as URLs for NNTP newsgroup(s).