mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
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>
This commit is contained in:
parent
8654cda06c
commit
bcf7bea44e
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue