]> code.ossystems Code Review - meta-freescale.git/commit
libfslvpuwrap_1.0.46: fix IOGetVirtMem calls
authorEric Nelson <eric.nelson@boundarydevices.com>
Sat, 28 Jun 2014 17:58:59 +0000 (10:58 -0700)
committerOtavio Salvador <otavio@ossystems.com.br>
Sat, 28 Jun 2014 18:37:35 +0000 (15:37 -0300)
commita61b99d806bfc8e151478c32d558ec4165611228
tree9a411125e85ad59c05a46d52a35f19e16720d697
parente32e217f0d522fc3969fc2ab5c793268b6ed420c
libfslvpuwrap_1.0.46: fix IOGetVirtMem calls

IOGetVirtMem() returns a pointer or specifically -1 (MAP_FAILED)
in the case of failure, and a couple of calls were improperly testing
for zero.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-multimedia/libfslvpuwrap/libfslvpuwrap/0001-vpu_wrapper-fix-tests-of-return-value-from-IOGetVirt.patch [new file with mode: 0644]
meta-fsl-arm/recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.46.bb