diff options
| author | Alok Tiwari <alok.a.tiwari@oracle.com> | 2026-02-26 19:06:53 -0800 |
|---|---|---|
| committer | Manivannan Sadhasivam <mani@kernel.org> | 2026-03-05 12:16:09 +0530 |
| commit | 0b74f7d72399d4c4422ed3d68ef28b3612f71e74 (patch) | |
| tree | c3889946407e582620de35a9765a0ba628b71336 /tools/lib/python | |
| parent | 88ce49abc2185da3d08da9f71290d46a393d3876 (diff) | |
PCI: endpoint: Propagate error from pci_epf_create()
pci_epf_make() overwrites the actual error returned by pci_epf_create()
with -EINVAL, which hides the real failure reason. Use PTR_ERR(epf) instead
and print the error code.
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20260227030701.40533-1-alok.a.tiwari@oracle.com
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
