diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-11-04 16:21:40 +0300 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2015-11-17 12:26:49 -0800 |
commit | 79513237da7ecc0981e7d962a784625b32cabfdc (patch) | |
tree | 0fc4ac6a9b8b4f6e3a436f4bf8aced38a03cbd27 /samples/uhid | |
parent | 2fa8e90433cdc2d9f09883f45fd2942dc042d6a6 (diff) | |
download | linux-79513237da7ecc0981e7d962a784625b32cabfdc.tar.bz2 |
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 'samples/uhid')
0 files changed, 0 insertions, 0 deletions