diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-27 08:06:38 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-01 05:48:41 +0400 |
commit | bcf7bea44e50e85e8401f8667ecc8c79a3708e58 (patch) | |
tree | af3aa3e8d027f661a2d58ace136037df9ae5b50c | |
parent | 8654cda06c74a29ed956db8bd29ecbaf3cf9b464 (diff) | |
download | linux-bcf7bea44e50e85e8401f8667ecc8c79a3708e58.tar.xz |
staging: cxt1e1: linux.c: Return negative error codes
Return negative error codes as is followed in the rest of the
kernel.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/cxt1e1/linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/cxt1e1/linux.c b/drivers/staging/cxt1e1/linux.c index 598e6ba96955..9b483739881a 100644 --- a/drivers/staging/cxt1e1/linux.c +++ b/drivers/staging/cxt1e1/linux.c @@ -230,7 +230,7 @@ c4_wq_port_init (mpi_t *pi) __func__, name, pi->portnum); /* RLD DEBUG */ #endif if (!(pi->wq_port = create_singlethread_workqueue (name))) - return ENOMEM; + return -ENOMEM; return 0; /* success */ } |