| commit | e1b9ce5c22eb9968565f58283d467ad9b5c9bf46 | [log] [tgz] |
|---|---|---|
| author | Laura Abbott <lauraa@codeaurora.org> | Fri Nov 11 18:31:39 2011 -0800 |
| committer | Laura Abbott <lauraa@codeaurora.org> | Wed Nov 16 07:22:40 2011 -0800 |
| tree | 456f9a9f54728e9d24df1a8a8751a2cea998d3a1 | |
| parent | 9fa29e88893229f2f95f306778089e4002f527f9 [diff] |
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: Laura Abbott <lauraa@codeaurora.org>