From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Mon, 24 Jan 2011 23:38:01 +0000 Subject: [PATCH v4 01/19] ARM: Make the argument to virt_to_phys() "const volatile" In-Reply-To: <4D3DD0D8.10905@codeaurora.org> References: <1295891761-18366-1-git-send-email-catalin.marinas@arm.com> <1295891761-18366-2-git-send-email-catalin.marinas@arm.com> <4D3DD0D8.10905@codeaurora.org> Message-ID: <20110124233801.GT24104@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Jan 24, 2011 at 11:19:52AM -0800, Stephen Boyd wrote: > On 01/24/2011 09:55 AM, Catalin Marinas wrote: > > Changing the virt_to_phys() argument to "const volatile void *" avoids > > compiler warnings in some situations where this function is used. > > > > Signed-off-by: Catalin Marinas > > Cc: Stephen Boyd > > Cc: Arnd Bergmann > > --- > > Acked-by: Stephen Boyd > > Any chance we can get this one patch into 2.6.38? It fixes a warning for > MSM. I don't see any reason why this can't. Catalin, can you put it in the patch system with Stephen's ack please?