summaryrefslogtreecommitdiff
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2025-03-24 15:31:32 +0300
committerJason Gunthorpe <jgg@nvidia.com>2025-04-07 21:08:32 +0300
commit95ba3850fed03e01b422ab5d7943aeba130c9723 (patch)
tree6f78e2b3f49266522a93837413826574d86fd979 /rust/helpers/workqueue.c
parent62dd71e691109bb44ba8ad7f58b3a2ac6b69d496 (diff)
downloadlinux-95ba3850fed03e01b422ab5d7943aeba130c9723.tar.xz
RDMA/usnic: Fix passing zero to PTR_ERR in usnic_ib_pci_probe()
drivers/infiniband/hw/usnic/usnic_ib_main.c:590 usnic_ib_pci_probe() warn: passing zero to 'PTR_ERR' Make usnic_ib_device_add() return NULL on fail path, also remove useless NULL check for usnic_ib_discover_pf() Fixes: e3cf00d0a87f ("IB/usnic: Add Cisco VIC low-level hardware driver") Link: https://patch.msgid.link/r/20250324123132.2392077-1-yuehaibing@huawei.com Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions