aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorDmitry Osipenko <[email protected]>2018-07-06 21:02:36 +0300
committerThierry Reding <[email protected]>2018-07-09 10:31:30 +0200
commitec58923215dbbeef59ee82923ee94d745f73db58 (patch)
tree40f8358325acc7055a5b55ff94c87899ea609792 /lib/test_overflow.c
parent4466b1f0e022f94a026bd700fee34bff15cdc4ef (diff)
gpu: host1x: Check whether size of unpin isn't 0
Only gather pins are mapped by the Host1x driver, regular BO relocations are not. Check whether size of unpin isn't 0, otherwise IOVA allocation at 0x0 could be erroneously released. Signed-off-by: Dmitry Osipenko <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions