diff options
| author | Wei Yongjun <[email protected]> | 2021-05-19 15:58:52 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-05-19 20:14:35 +0000 |
| commit | a49e72b3bda73d36664a084e47da9727a31b8095 (patch) | |
| tree | 3a34e344da957775981f1dfeb5a21d1d90983100 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | net: ethernet: ixp4xx: Fix return value check in ixp4xx_eth_probe() (diff) | |
| download | kernel-a49e72b3bda73d36664a084e47da9727a31b8095.tar.gz kernel-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 <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
