diff options
| author | Jaewon Kim <[email protected]> | 2016-12-09 14:05:30 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-01-03 15:22:30 +0100 |
| commit | aacd178373413163d051d75c0fcabe65bcc74cea (patch) | |
| tree | 380caf285dbf1caecbcfaaac3cdb38c0c4597bea /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | e795491822c4c5bbb2c0d016676f5648d78cacb0 (diff) | |
staging: android: ion: return -ENOMEM in ion_cma_heap allocation failure
Initial Commit 349c9e138551 ("gpu: ion: add CMA heap") returns -1 in allocation
failure. The returned value is passed up to userspace through ioctl. So user can
misunderstand error reason as -EPERM(1) rather than -ENOMEM(12).
This patch simply changed this to return -ENOMEM.
Signed-off-by: Jaewon Kim <[email protected]>
Acked-by: Laura Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions