diff options
author | Wei Yongjun <[email protected]> | 2016-02-06 22:24:19 +0800 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2016-02-10 10:01:44 +0100 |
commit | aaa0bf22cb84c7b29c814f3fcf3951c747b904d6 (patch) | |
tree | 94f6ede10c73514b2fa695a2c5fb8259736b69ed /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 3af5a67c86a30f8cd8bfd6202709be21cedd2756 (diff) |
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 <[email protected]>
Acked-by: John Crispin <[email protected]>
Cc: Matthias Brugger <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/12451/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions