diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2019-07-05 19:15:35 +0200 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2019-08-09 11:06:38 +0200 |
commit | c53ab61312ceb2c2c8fdf50137361a77ef0fc155 (patch) | |
tree | b921c1b0586f783fb65072586530fc0585621f51 /drivers/gpu/drm/vboxvideo | |
parent | 2e737e520548d4456fc8dfa800ab189e0e4b2939 (diff) |
drm/etnaviv: fix etnaviv_cmdbuf_suballoc_new return value
The call site expects to get either a valid suballoc or an error
pointer, so a NULL return will not be treated as an error. Make
sure to always return a proper error pointer in case something goes
wrong.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Guido Günther <agx@sigxcpu.org>
Diffstat (limited to 'drivers/gpu/drm/vboxvideo')
0 files changed, 0 insertions, 0 deletions