diff options
author | Wei Yongjun <[email protected]> | 2017-04-27 15:21:13 +0000 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-04-30 11:21:16 +0200 |
commit | 216646e4d82e847791f0ba66c439dedd36cb119f (patch) | |
tree | 18ebe0f5c2cc5e2cda60951066adbddeae67c6b2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8ada00a650ec7ec639fb72964f0e4eba928786f8 (diff) |
irqchip/mbigen: Fix return value check in mbigen_device_probe()
In case of error, the function devm_ioremap() returns NULL pointer
not ERR_PTR(). Use devm_ioremap_resource() instead of devm_ioremap()
to fix the IS_ERR() test issue.
Fixes: 76e1f77f9c26 ("irqchip/mbigen: Introduce mbigen_of_create_domain()")
Signed-off-by: Wei Yongjun <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Kefeng Wang <[email protected]>
Cc: Jason Cooper <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions