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

From: Catalin Marinas
Date: Mon Oct 11 2010 - 07:04:14 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/