[PATCH 2.6.39-rc5] ioremap: Delay sanity check until after a successfulmapping

From: Tim Gardner
Date: Thu Apr 28 2011 - 13:01:20 EST


This is a multi-part message in MIME format.While tracking down the reason for an ioremap() failure I was distracted by the WARN_ONCE() in __ioremap_caller(). Can we move the sanity check later in the function until _after_ the mapping has been performed?

rtg
--
Tim Gardner tim.gardner@xxxxxxxxxxxxx