gpu: pvr: fix state buffer validation
authorImre Deak <imre.deak@nokia.com>
Tue, 29 Mar 2011 17:30:47 +0000 (20:30 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:43:04 +0000 (21:43 +0300)
commit315afd65a21be0073014175356885363aaa97d6e
tree05898ec20711a79abdb0d421ada864aac1f9129d
parent6fe4162851b8f568533fd1ae3c1e62e5e296261c
gpu: pvr: fix state buffer validation

The incorrect comparison size could cause a corrupted buffer info to be
regarded as valid.

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