From patchwork Sun Oct 7 20:08:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Prisk X-Patchwork-Id: 1562061 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 509253FD9C for ; Sun, 7 Oct 2012 20:10:05 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TKx97-0007xI-JZ; Sun, 07 Oct 2012 20:08:17 +0000 Received: from mta04.xtra.co.nz ([210.54.141.251] helo=mta01.xtra.co.nz) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TKx91-0007w5-V0 for linux-arm-kernel@lists.infradead.org; Sun, 07 Oct 2012 20:08:14 +0000 Received: from localhost.localdomain ([115.188.14.127]) by mta01.xtra.co.nz with ESMTP id <20121007200752.HRNH19666.mta01.xtra.co.nz@localhost.localdomain>; Mon, 8 Oct 2012 09:07:52 +1300 From: Tony Prisk To: arm@kernel.org Subject: [PATCH] arm: vt8500: Fix build warning in uncompress.h [for 3.7] Date: Mon, 8 Oct 2012 09:08:11 +1300 Message-Id: <1349640491-25606-1-git-send-email-linux@prisktech.co.nz> X-Mailer: git-send-email 1.7.9.5 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [210.54.141.251 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Tony Prisk , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This removes a build-time warning in uncompress.h due to incorrectly cast values being passed to readb/writeb. Signed-off-by: Tony Prisk --- 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 static void putc(const char c)