[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210531145302.9655-1-thunder.leizhen@huawei.com>
Date: Mon, 31 May 2021 22:52:59 +0800
From: Zhen Lei <thunder.leizhen@...wei.com>
To: Borislav Petkov <bp@...en8.de>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Tony Luck <tony.luck@...el.com>,
James Morse <james.morse@....com>,
Robert Richter <rric@...nel.org>,
Johannes Thumshirn <morbidrsa@...il.com>,
Ralf Baechle <ralf@...ux-mips.org>,
Dinh Nguyen <dinguyen@...nel.org>,
Jan Luebbe <jlu@...gutronix.de>,
Andre Przywara <andre.przywara@....com>,
Channagoud Kadabi <ckadabi@...eaurora.org>,
"Venkata Narendra Kumar Gutta" <vnkgutta@...eaurora.org>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
"Khuong Dinh" <khuong@...amperecomputing.com>,
York Sun <york.sun@....com>,
linux-edac <linux-edac@...r.kernel.org>,
linux-mips <linux-mips@...r.kernel.org>,
linux-arm-msm <linux-arm-msm@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
CC: Zhen Lei <thunder.leizhen@...wei.com>
Subject: [PATCH v2 0/3] edac: Fix error return code when edac_pci_add_device() or edac_device_add_device() fails
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
Powered by blists - more mailing lists