All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] pci: Make return value of pcie_capability_*() consistent
@ 2020-05-04  5:18 refactormyself
  2020-05-04  5:18 ` [PATCH RFC 1/2] " refactormyself
  2020-05-04  5:18 ` [PATCH RFC 2/2] pci: Set all PCIBIOS_* error codes to generic error codes refactormyself
  0 siblings, 2 replies; 4+ messages in thread
From: refactormyself @ 2020-05-04  5:18 UTC (permalink / raw)
  To: helgaas; +Cc: Bolarinwa Olayemi Saheed, bjorn, yangyicong, skhan, linux-pci

From: Bolarinwa Olayemi Saheed <refactormyself@gmail.com>

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-05  0:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-04  5:18 [PATCH RFC 0/2] pci: Make return value of pcie_capability_*() consistent refactormyself
2020-05-04  5:18 ` [PATCH RFC 1/2] " refactormyself
2020-05-05  0:06   ` Bjorn Helgaas
2020-05-04  5:18 ` [PATCH RFC 2/2] pci: Set all PCIBIOS_* error codes to generic error codes refactormyself

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.