aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2015-08-10 14:11:41 -0300
committerMauro Carvalho Chehab <[email protected]>2015-08-11 10:28:41 -0300
commit919db5c3199cbd7cf503cdc42f3467a524d1f9ff (patch)
treefc79359b0e784a7ca42ad3cb7982176a3dbe968d /tools/perf/scripts/python
parent8e8a6b23f115906678252190c8fcf4168cc60fd5 (diff)
[media] mantis: Fix error handling in mantis_dma_init()
Current code assigns 0 to variable 'err', which makes mantis_dma_init() to return success even if mantis_alloc_buffers() fails. Fix it by checking the return value from mantis_alloc_buffers() and propagating it in the case of error. Reported-by: RUC_Soft_Sec <[email protected]> Signed-off-by: Fabio Estevam <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions