Thread (59 messages) flat view 59 messages, 6 authors, 2011-03-21

[PATCH v4 01/19] ARM: Make the argument to virt_to_phys() "const volatile"

From: arnd@arndb.de (Arnd Bergmann)
Date: 2011-01-25 10:00:28
Also in: lkml

On Monday 24 January 2011, Stephen Boyd wrote:
On 01/24/2011 09:55 AM, Catalin Marinas wrote:
quoted
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 <catalin.marinas@arm.com>
Cc: Stephen Boyd <redacted>
Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Stephen Boyd <redacted>

Any chance we can get this one patch into 2.6.38? It fixes a warning for
MSM.
Stephen, you might want to have a look at why the warning even appears
on MSM. Most uses of 'volatile' are misguided, and there could be an
actual bug in there.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help