microblaze: warn if of_iomap() failed

of_iomap() can return NULL. The function is void thus error propagation
is not possible but at least a WARN_ON() seems warranted here as a silent
failure might lead to a hard to understand system state.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
Nicholas Mc Guire 2018-07-09 10:42:44 +02:00 • committed by Michal Simek
commit bd05a58ddf