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: <20210109002017.1185-1-s-anna@ti.com>
Date:   Fri, 8 Jan 2021 18:20:17 -0600
From:   Suman Anna <s-anna@...com>
To:     Santosh Shilimkar <ssantosh@...nel.org>
CC:     <linux-omap@...r.kernel.org>,
        <linux-arm-kernel@...ts.infradead.org>,
        <linux-kernel@...r.kernel.org>, Suman Anna <s-anna@...com>,
        Grzegorz Jaszczyk <grzegorz.jaszczyk@...aro.org>
Subject: [PATCH] soc: ti: pruss: Correct the pruss_clk_init error trace text

The pruss_clk_init() function can register more than one clock.
Correct the existing misleading error trace upon a failure within
this function.

Signed-off-by: Suman Anna <s-anna@...com>
---
 drivers/soc/ti/pruss.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/ti/pruss.c b/drivers/soc/ti/pruss.c
index 5d6e7132a5c4..1d6890134312 100644
--- a/drivers/soc/ti/pruss.c
+++ b/drivers/soc/ti/pruss.c
@@ -273,7 +273,7 @@ static int pruss_probe(struct platform_device *pdev)
 
 	ret = pruss_clk_init(pruss, child);
 	if (ret) {
-		dev_err(dev, "failed to setup coreclk-mux\n");
+		dev_err(dev, "pruss_clk_init failed, ret = %d\n", ret);
 		goto node_put;
 	}
 
-- 
2.29.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ