From: Bolarinwa Olayemi Saheed <refactormyself@xxxxxxxxx> 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(-) -- 2.18.2