diff options
| author | Wei Yongjun <[email protected]> | 2016-09-15 02:20:43 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-09-16 10:22:35 +0200 |
| commit | 299ac44422fbe7ff23ff1f01667cfe87bc61c74a (patch) | |
| tree | 1a63bcdab71298f00527a48dd8f5d4a81807eeb7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 29b7d5817bd2795454739226f517fc2b47eb2b51 (diff) | |
staging: android: ion: Fix return value check in hi6220_ion_probe()
In case of error, the function ion_device_create() 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]>
Reviewed-by: Sumit Semwal <[email protected]>
Acked-by: Laura Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions