Commit e1b9ce5c authored by Laura Abbott's avatar Laura Abbott
Browse files

gpu: ion: Return negative value from ioctl on allocation failure



If the ion allocation fails, return a negative value to the
ioctl. This is easier for userspace to deal with than
checking if the handle is valid.

Change-Id: I1c785b1b1e71d2bd45c6f7be78ea15e4a08cd6e5
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent 9fa29e88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment