RFC pci: Make return value of pcie_capability_*() consistent
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | pci: Make return value of pcie_capability_*() consistentdrivers/ | +51 | 1 reply | |
| 2/2 | pci: Set all PCIBIOS_* error codes to generic error codesinclude/ | +15 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH RFC 0/2] pci: Make return value of pcie_capability_*() consistent
From: Bolarinwa Olayemi Saheed <[email protected]>
Changes in version 5:
- Extend consitency to all accesors, they all now return PCIBIOS_* error codes
- Enforce -ve error code, any case of > 0 error code is return as -ERANGE this is done in line with the implementation of pcibios_err_to_errno() which is now deprecated.
- Set all PCIBIOS_* error codes to generic error codes.
- pcibios_err_to_errno() is now dormant and deprecated. It will return -ERANGE if a any positive error code is passed into it.
- Remove verbose dependency audit report from commit log. No conflict was discovered so far.
Changes in version 4:
- make patch independent of earlier versions
- add commit log
- add justificaation and report on audit of affected functions
Bolarinwa Olayemi Saheed (2):
pci: Make return value of pcie_capability_{read|write}_*() consistent Set all PCIBIOS_* error codes to generic error codes
drivers/pci/access.c | 64 +++++++++++++++++++++++++++++++++++--------- include/linux/pci.h | 31 +++++++++++---------- 2 files changed, 66 insertions(+), 29 deletions(-)
Signature · 1 line
2.18.2