diff options
author | Dan Carpenter <[email protected]> | 2016-10-13 11:53:21 +0300 |
---|---|---|
committer | Philipp Zabel <[email protected]> | 2016-10-18 11:02:11 +0200 |
commit | 8cca354816adacb91280e19c50f81ffddc0460a4 (patch) | |
tree | 51c4569aaee015789117452321a45574108ece14 /tools/perf/util/trace-event-scripting.c | |
parent | 81d553545a1510ff7c7c00cbc9b57d6172d411a4 (diff) |
drm/imx: drm_dev_alloc() returns error pointers
We are checking for NULL here, when we should be checking for error
pointers.
Fixes: 54db5decce17 ("drm/imx: drop deprecated load/unload drm_driver ops")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Lucas Stach <[email protected]>
Signed-off-by: Philipp Zabel <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions