[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240605212344.21808-1-jain.abhinav177@gmail.com>
Date: Wed, 5 Jun 2024 21:23:44 +0000
From: Abhinav Jain <jain.abhinav177@...il.com>
To: jain.abhinav177@...il.com
Cc: bhelgaas@...gle.com,
javier.carrasco.cruz@...il.com,
linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org,
mahesh@...ux.ibm.com,
oohall@...il.com,
skhan@...uxfoundation.org
Subject: [PATCH v2] PCI/AER: Print error message as per the TODO
Print the add device error in find_device_iter()
Signed-off-by: Abhinav Jain <jain.abhinav177@...il.com>
PATCH v1 link : https://lore.kernel.org/all/20240415161055.8316-1-jain.abhinav177@gmail.com/
Changes since v1:
- Replaced pr_err() with pr_notice()
- Removed unncessary whitespaces
---
drivers/pci/pcie/aer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pci/pcie/aer.c b/drivers/pci/pcie/aer.c
index 0e1ad2998116..8b820a74dd6b 100644
--- a/drivers/pci/pcie/aer.c
+++ b/drivers/pci/pcie/aer.c
@@ -885,8 +885,8 @@ static int find_device_iter(struct pci_dev *dev, void *data)
/* List this device */
if (add_error_device(e_info, dev)) {
/* We cannot handle more... Stop iteration */
- pr_err("find_device_iter: Cannot handle more devices.
- Stopping iteration");
+ pr_notice("%s: Cannot handle more devices - iteration stopped\n",
+ __func__);
return 1;
}
--
2.34.1
Powered by blists - more mailing lists