diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-05-19 15:58:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-19 13:14:35 -0700 |
commit | a49e72b3bda73d36664a084e47da9727a31b8095 (patch) | |
tree | 3a34e344da957775981f1dfeb5a21d1d90983100 /ipc/util.c | |
parent | 20e76d3d044d936998617f8acd7e77bebd9ca703 (diff) |
net: qrtr: ns: Fix error return code in qrtr_ns_init()
Fix to return a negative error code -ENOMEM from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: c6e08d6251f3 ("net: qrtr: Allocate workqueue before kernel_bind")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions