Searched hist:c53ab61312ceb2c2c8fdf50137361a77ef0fc155 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_cmdbuf.c | diff c53ab61312ceb2c2c8fdf50137361a77ef0fc155 Fri Jul 05 19:15:35 CEST 2019 Lucas Stach <l.stach@pengutronix.de> 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>
|