diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-05 22:06:03 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-05 22:07:46 +0000 |
commit | a8cfddd280b5220f23565b21c91f3f7dd10bbe91 (patch) | |
tree | 79345ba15137199ea180d62549a9c95a9c196add /NEWS | |
parent | 82dc91e8c24a1fbbf03dcf89a3955319b3399ea0 (diff) |
sna: Tidy buffer allocation size assertions
Rather than perilously update a local variable with the allocated size,
just use the size of the bo in the assertion that is large enough to
satisfy the allocation request.
Reported-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions