diff options
| author | Yue Haibing <[email protected]> | 2025-03-24 12:31:32 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2025-04-07 18:08:32 +0000 |
| commit | 95ba3850fed03e01b422ab5d7943aeba130c9723 (patch) | |
| tree | 6f78e2b3f49266522a93837413826574d86fd979 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | RDMA/ucaps: Avoid format-security warning (diff) | |
| download | kernel-95ba3850fed03e01b422ab5d7943aeba130c9723.tar.gz kernel-95ba3850fed03e01b422ab5d7943aeba130c9723.zip | |
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/[email protected]
Signed-off-by: Yue Haibing <[email protected]>
Reviewed-by: Zhu Yanjun <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
