diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-05-19 17:58:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-19 22:14:35 +0200 |
commit | a49e72b3bda73d36664a084e47da9727a31b8095 (patch) | |
tree | 3a34e344da957775981f1dfeb5a21d1d90983100 /drivers/net/phy/Kconfig | |
parent | net: ethernet: ixp4xx: Fix return value check in ixp4xx_eth_probe() (diff) | |
download | linux-a49e72b3bda73d36664a084e47da9727a31b8095.tar.xz linux-a49e72b3bda73d36664a084e47da9727a31b8095.zip |
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 'drivers/net/phy/Kconfig')
0 files changed, 0 insertions, 0 deletions