summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-03-15 09:08:00 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-03-15 09:11:28 +0000
commit01a8bf01c6508a4fea8d40371c3049e7a2f7908a (patch)
tree8b2d8d533a09a87010717a6852db34c5bcea3044 /test
parent2c2dccf5a4d298c866f7c0faed2e10c65252c168 (diff)
mempool: Reduce an assert into an error return for get_buddy()
If we ask for a buddy that is outside of our allocation that is an error that should not happen with a power-of-two allocated zone... However, since it has been seen in the wild, we can safely return that there is no buddy rather than die in a too-late assert. Reported-by: Anton Eliasson <devel@antoneliasson.se> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions