etnaviv: fix a null pointer dereference
authorAndrii Simiklit <andrii.simiklit@globallogic.com>
Fri, 19 Jul 2019 14:39:07 +0000 (17:39 +0300)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 5 Aug 2019 13:31:43 +0000 (15:31 +0200)
commitdc471f2ef8ffd6dcac170b82724b2e6069797a34
treee26cbf498977680d5c901cc4ccd2ca9e11fb6aac
parent74470baebbdacc8fd31c9912eb8c00c0cd102903
etnaviv: fix a null pointer dereference

This issue was found by cppcheck

Signed-off-by: Andrii Simiklit <andrii.simiklit@globallogic.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
src/etnaviv/drm/etnaviv_bo.c