diff options
author | Zhang Changzhong <zhangchangzhong@huawei.com> | 2020-11-13 14:42:27 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-11-13 12:25:21 -0400 |
commit | dabbd6abcdbeb1358a53ec28a244429320eb0e3a (patch) | |
tree | 6ca98f9b1d122d7cf2fc5663e6a8f67db5a6ca15 /drivers/infiniband/sw/siw | |
parent | b1e678bf290db5a76f1b6a9f7c381310e03440d6 (diff) | |
download | linux-stable-dabbd6abcdbeb1358a53ec28a244429320eb0e3a.tar.gz linux-stable-dabbd6abcdbeb1358a53ec28a244429320eb0e3a.tar.bz2 linux-stable-dabbd6abcdbeb1358a53ec28a244429320eb0e3a.zip |
IB/hfi1: Fix error return code in hfi1_init_dd()
Fix to return a negative error code from the error handling case instead
of 0, as done elsewhere in this function.
Fixes: 4730f4a6c6b2 ("IB/hfi1: Activate the dummy netdev")
Link: https://lore.kernel.org/r/1605249747-17942-1-git-send-email-zhangchangzhong@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Acked-by: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw/siw')
0 files changed, 0 insertions, 0 deletions