lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20241018113045.2050295-1-bwawrzyn@cisco.com>
Date: Fri, 18 Oct 2024 11:30:43 +0000
From: Bartosz Wawrzyniak <bwawrzyn@...co.com>
To: Lorenzo Pieralisi <lpieralisi@...nel.org>,
	Krzysztof WilczyƄski <kw@...ux.com>,
	Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
	Rob Herring <robh@...nel.org>,
	Bjorn Helgaas <bhelgaas@...gle.com>,
	linux-pci@...r.kernel.org,
	linux-kernel@...r.kernel.org
Cc: xe-linux-external@...co.com,
	Daniel Walker <danielwa@...co.com>,
	Bartosz Stania <sbartosz@...co.com>,
	Bartosz Wawrzyniak <bwawrzyn@...co.com>
Subject: [PATCH] PCI: cadence: Lower severity of message when phy-names property is absent in DTS

The phy-names property is optional, so the message indicating its absence
during the probe should be of 'info' severity rather than 'error' severity.

Signed-off-by: Bartosz Wawrzyniak <bwawrzyn@...co.com>
---
 drivers/pci/controller/cadence/pcie-cadence.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/controller/cadence/pcie-cadence.c b/drivers/pci/controller/cadence/pcie-cadence.c
index 4251fac5e310..88122d480432 100644
--- a/drivers/pci/controller/cadence/pcie-cadence.c
+++ b/drivers/pci/controller/cadence/pcie-cadence.c
@@ -197,7 +197,7 @@ int cdns_pcie_init_phy(struct device *dev, struct cdns_pcie *pcie)
 
 	phy_count = of_property_count_strings(np, "phy-names");
 	if (phy_count < 1) {
-		dev_err(dev, "no phy-names.  PHY will not be initialized\n");
+		dev_info(dev, "no phy-names.  PHY will not be initialized\n");
 		pcie->phy_count = 0;
 		return 0;
 	}
-- 
2.28.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ