diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-05-19 18:58:52 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-05-19 23:14:35 +0300 |
| commit | a49e72b3bda73d36664a084e47da9727a31b8095 (patch) | |
| tree | 3a34e344da957775981f1dfeb5a21d1d90983100 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 20e76d3d044d936998617f8acd7e77bebd9ca703 (diff) | |
| download | linux-a49e72b3bda73d36664a084e47da9727a31b8095.tar.xz | |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
