linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] edac: Fix error return code when edac_pci_add_device() or edac_device_add_device() fails
@ 2021-05-31 14:52 Zhen Lei
  2021-05-31 14:53 ` [PATCH v2 1/3] edac: Fix error return code when edac_pci_add_device() fails Zhen Lei
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Zhen Lei @ 2021-05-31 14:52 UTC (permalink / raw)
  To: Borislav Petkov, Mauro Carvalho Chehab, Tony Luck, James Morse,
	Robert Richter, Johannes Thumshirn, Ralf Baechle, Dinh Nguyen,
	Jan Luebbe, Andre Przywara, Channagoud Kadabi,
	Venkata Narendra Kumar Gutta, Andy Gross, Bjorn Andersson,
	Khuong Dinh, York Sun, linux-edac, linux-mips, linux-arm-msm,
	linux-kernel
  Cc: Zhen Lei

v1 --> v2:
1. When edac_pci_add_device() fails, fix to return -ENODEV
2. When edac_device_add_device() fails, fix to return -ENXIO
3. Use 'ret' instead of 'res' to store the return value

Zhen Lei (3):
  edac: Fix error return code when edac_pci_add_device() fails
  edac: Fix error return code when edac_device_add_device() fails
  edac: Use 'ret' instead of 'res' to store the return value

 drivers/edac/altera_edac.c      | 70 +++++++++++++++++----------------
 drivers/edac/amd8111_edac.c     |  2 +
 drivers/edac/armada_xp_edac.c   |  8 ++--
 drivers/edac/cpc925_edac.c      | 16 ++++----
 drivers/edac/fsl_ddr_edac.c     | 24 +++++------
 drivers/edac/highbank_l2_edac.c | 22 ++++++-----
 drivers/edac/highbank_mc_edac.c | 20 +++++-----
 drivers/edac/layerscape_edac.c  |  8 ++--
 drivers/edac/mpc85xx_edac.c     | 46 +++++++++++-----------
 drivers/edac/octeon_edac-pci.c  |  9 +----
 drivers/edac/qcom_edac.c        |  4 +-
 drivers/edac/skx_base.c         |  6 +--
 drivers/edac/thunderx_edac.c    | 28 +++++++------
 drivers/edac/xgene_edac.c       |  6 +--
 14 files changed, 138 insertions(+), 131 deletions(-)

-- 
2.26.0.106.g9fadedd



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

end of thread, other threads:[~2021-06-01  1:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31 14:52 [PATCH v2 0/3] edac: Fix error return code when edac_pci_add_device() or edac_device_add_device() fails Zhen Lei
2021-05-31 14:53 ` [PATCH v2 1/3] edac: Fix error return code when edac_pci_add_device() fails Zhen Lei
2021-05-31 14:53 ` [PATCH v2 2/3] edac: Fix error return code when edac_device_add_device() fails Zhen Lei
2021-05-31 14:53 ` [PATCH v2 3/3] edac: Use 'ret' instead of 'res' to store the return value Zhen Lei
2021-05-31 14:57   ` Borislav Petkov
2021-06-01  1:40     ` Leizhen (ThunderTown)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).