summaryrefslogtreecommitdiffstats
path: root/arch/h8300
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2016-02-06 22:24:19 +0800
committerRalf Baechle <ralf@linux-mips.org>2016-02-10 10:01:44 +0100
commitaaa0bf22cb84c7b29c814f3fcf3951c747b904d6 (patch)
tree94f6ede10c73514b2fa695a2c5fb8259736b69ed /arch/h8300
parent3af5a67c86a30f8cd8bfd6202709be21cedd2756 (diff)
downloadtalos-obmc-linux-aaa0bf22cb84c7b29c814f3fcf3951c747b904d6.tar.gz
talos-obmc-linux-aaa0bf22cb84c7b29c814f3fcf3951c747b904d6.zip
MIPS: pci-mt7620: Fix return value check in mt7620_pci_probe()
In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: John Crispin <blogic@openwrt.org> Cc: Matthias Brugger <matthias.bgg@gmail.com> Cc: linux-mips@linux-mips.org Cc: linux-mediatek@lists.infradead.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/12451/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/h8300')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud