gpu: pvr: Check OSAllocMem return value.
authorJanusz Sobczak <janusz.sobczak@imgtec.com>
Mon, 9 Aug 2010 11:22:13 +0000 (13:22 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:09:42 +0000 (21:09 +0300)
commit764d6ca6e3b05e4abc03017ebb60f486dda4e3a8
tree1e60a27eb7b082fb7f16ce36dd8764b9a09dd1fd
parent669de8c78a39a0548179b66e6e18a334874e833c
gpu: pvr: Check OSAllocMem return value.

Check OSAllocMem() return value instead of checking the pointer returned
as a positional parameter.

This change makes static analysis tool happy.

Signed-off-by: Janusz Sobczak <janusz.sobczak@imgtec.com>
Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/hash.c