summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2014-06-21 10:52:48 -0700
committerOtavio Salvador <otavio@ossystems.com.br>2014-06-25 13:29:04 -0300
commitab90b896f4bf09a8ced37c6e1511686217d053b9 (patch)
tree1e6141e2d2b01e7ae43f1bede510161d39b83e99 /conf
parent8d0b2b7252589e3f652a600e52704009c1769d81 (diff)
downloadmeta-fsl-arm-ab90b896f4bf09a8ced37c6e1511686217d053b9.tar.gz
imx-vpu: fix checks of IOGetVirtMem() return value
The IOGetVirtMem() routine returns the address of a memory block or -1 (MAP_FAILED) to indicate an error. Many callers of this routine tested the return value for <= 0 to detect failure, and at least with a 3G/1G memory split configured in the kernel, a negative number (!= -1) is a valid (successful) return value. Without this patch, the IOSystemInit() will often detect failure incorrectly. Change-Id: I8b20ae5f74608307cbb810168024e8863599dbdb Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'conf')
0 files changed, 0 insertions, 0 deletions