]> git.baikalelectronics.ru Git - kernel.git/commit
microblaze: warn if of_iomap() failed
authorNicholas Mc Guire <hofrat@osadl.org>
Mon, 9 Jul 2018 08:42:44 +0000 (10:42 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 11 Jul 2018 08:06:46 +0000 (10:06 +0200)
commit6ea1e29f72357477c25b69a1eaf887159be47edc
tree465b8f5721c4eafef85a347ca519046059769009
parent749c65c1b38017c420ee0efe4cf766101be057ac
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>
arch/microblaze/pci/xilinx_pci.c