Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bcf7bea4 authored by Sachin Kamat's avatar Sachin Kamat Committed by Greg Kroah-Hartman
Browse files

staging: cxt1e1: linux.c: Return negative error codes



Return negative error codes as is followed in the rest of the
kernel.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8654cda0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */
}