diff options
| author | 2013-09-27 09:36:38 +0530 | |
|---|---|---|
| committer | 2013-09-30 18:48:41 -0700 | |
| commit | bcf7bea44e50e85e8401f8667ecc8c79a3708e58 (patch) | |
| tree | af3aa3e8d027f661a2d58ace136037df9ae5b50c | |
| parent | staging: cxt1e1: hwprobe.c: Return negative error codes (diff) | |
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 */ } |
