aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/nvec/nvec_power.c
diff options
context:
space:
mode:
authorJaewon Kim <jaewon31.kim@samsung.com>2016-12-09 14:05:30 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-03 15:22:30 +0100
commitaacd178373413163d051d75c0fcabe65bcc74cea (patch)
tree380caf285dbf1caecbcfaaac3cdb38c0c4597bea /drivers/staging/nvec/nvec_power.c
parentstaging: unisys: visorbus: my_device_destroy add error handling (diff)
downloadlinux-dev-aacd178373413163d051d75c0fcabe65bcc74cea.tar.xz
linux-dev-aacd178373413163d051d75c0fcabe65bcc74cea.zip
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 <jaewon31.kim@samsung.com> Acked-by: Laura Abbott <labbott@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/nvec/nvec_power.c')
0 files changed, 0 insertions, 0 deletions