gpu: pvr: fix error path in SysInitialise
authorImre Deak <imre.deak@nokia.com>
Wed, 30 Mar 2011 11:36:09 +0000 (14:36 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:43:04 +0000 (21:43 +0300)
commitd51c89b929c07cfa068ef154024896ba1f92df07
tree189690f701e99d2c61f05a2583fe055e183a9977
parent315afd65a21be0073014175356885363aaa97d6e
gpu: pvr: fix error path in SysInitialise

Add missing check for the mem allocation result.

Fixes: NB#241787 - missing check of return value of OSReservePhys()

Reported-by: Coverity
Signed-off-by: Imre Deak <imre.deak@nokia.com>
Reviewed-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
pvr/sysconfig.c