[PATCH] ARM: allow, but warn, when issuing ioremap() on RAM

Catalin Marinas catalin.marinas at arm.com
Mon Oct 11 07:03:38 EDT 2010


On Mon, 2010-10-11 at 12:01 +0100, Pawel Moll wrote:
> > +                 (mtype != MT_DEVICE_CACHED || mtype != MT_DEVICE_WC))
> 
> Em, am I wrong or this expression _always_ evaluates as 1? ;-)

Should be '&&'. Thanks.

-- 
Catalin




More information about the linux-arm-kernel mailing list