diff options
author | Dan Carpenter <[email protected]> | 2019-03-21 09:27:31 +0300 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-04-01 09:33:38 -0700 |
commit | fc0c77fcbfb7c8e022a0bd655eeb7fa5f9bb1684 (patch) | |
tree | 588ddd0495bae6eb39ffb543922896be6d11a2c7 /lib/test_overflow.c | |
parent | 181e5bf29e06bd8ade7ebc21de056b9dc866fcc2 (diff) |
drm/v3d: fix a NULL vs error pointer mixup
The drm_gem_shmem_create() returns error pointers and v3d_bo_create() is
also supposed to return error pointers.
Fixes: 40609d4820b2 ("drm/v3d: Use the new shmem helpers to reduce driver boilerplate.")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Eric Anholt <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20190321062731.GC21489@kadam
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions