diff options
author | 2015-11-04 16:21:40 +0300 | |
---|---|---|
committer | 2015-11-17 12:26:49 -0800 | |
commit | 79513237da7ecc0981e7d962a784625b32cabfdc (patch) | |
tree | 0fc4ac6a9b8b4f6e3a436f4bf8aced38a03cbd27 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/vc4: fix itnull.cocci warnings (diff) | |
download | wireguard-linux-79513237da7ecc0981e7d962a784625b32cabfdc.tar.xz wireguard-linux-79513237da7ecc0981e7d962a784625b32cabfdc.zip |
drm/vc4: checking for NULL instead of IS_ERR
vc4_plane_init() returns an ERR_PTR on error, it doesn't return NULL.
This was obviously intended because the next lines call
PTR_ERR(primary_plane) already.
Fixes: c8b75bca92cb ('Eric Anholt <eric@anholt.net>')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions