gpu: pvr: fix error path during SGX device initialization
authorImre Deak <imre.deak@nokia.com>
Mon, 14 Mar 2011 16:12:24 +0000 (18:12 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:43:03 +0000 (21:43 +0300)
commit472dc29ac4eb0e07b126472a0b61ed04f58d02b3
tree45c1ef062c2f1ca756640165d22324db908d1887
parente80ec76aaae3eb37552a99599fe0b0249e7bec28
gpu: pvr: fix error path during SGX device initialization

This also fixes some coverity reports.

Fixes: NB#233667 - Dereferencing possibly NULL pointer in sgxinit.c

Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/sgxinit.c