mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
RDMA/hns: Fix an error code in hns_roce_v2_init_eq_table()
[ Upstream commit f1a315420e ]
The error code isn't set on this path.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
8edddc2cf3
commit
45d0ddf974
@@ -5117,6 +5117,7 @@ static int hns_roce_v2_init_eq_table(struct hns_roce_dev *hr_dev)
|
||||
create_singlethread_workqueue("hns_roce_irq_workqueue");
|
||||
if (!hr_dev->irq_workq) {
|
||||
dev_err(dev, "Create irq workqueue failed!\n");
|
||||
ret = -ENOMEM;
|
||||
goto err_request_irq_fail;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user