mirror of
https://github.com/torvalds/linux.git
synced 2024-11-04 11:04:38 +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
@ -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 New Issue
Block a user