From: Sachin Kamat Date: Fri, 27 Sep 2013 04:06:38 +0000 (+0530) Subject: staging: cxt1e1: linux.c: Return negative error codes X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bcf7bea44e50e85e8401f8667ecc8c79a3708e58;p=linux.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/cxt1e1/linux.c b/drivers/staging/cxt1e1/linux.c index 598e6ba969558..9b483739881a6 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 */ }