]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
staging: android: ion: dummy: fix an error code
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 20 Jan 2014 10:30:01 +0000 (13:30 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 19:08:46 +0000 (11:08 -0800)
commit630127f36784e59e995c206c37825a36a34d346c
treed3c01bc8f0aa2ecd06c55475442571fb1f51c1e1
parent8b9e418c013e8b671fc10108ab14243f0657bffd
staging: android: ion: dummy: fix an error code

We should be returning -ENOMEM here instead of zero.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion_dummy_driver.c