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: <20230816101729.30229-1-yann@sionneau.net>
Date:   Wed, 16 Aug 2023 12:17:29 +0200
From:   Yann Sionneau <yann@...nneau.net>
To:     Nick Alcock <nick.alcock@...cle.com>,
        Luis Chamberlain <mcgrof@...nel.org>
Cc:     linux-kernel@...r.kernel.org, Yann Sionneau <yann@...nneau.net>
Subject: [PATCH] bus: bt1-axi: Change from u32 to unsigned int for regmap_read() calls

regmap_read() API signature expects the caller to send "unsigned int"
type to return back the read value.
Change the two calls to match the regmap_read() signature.

Signed-off-by: Yann Sionneau <yann@...nneau.net>
---
 drivers/bus/bt1-axi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bus/bt1-axi.c b/drivers/bus/bt1-axi.c
index 4007e7322cf2..80a76f26b4c3 100644
--- a/drivers/bus/bt1-axi.c
+++ b/drivers/bus/bt1-axi.c
@@ -58,7 +58,7 @@ struct bt1_axi {
 static irqreturn_t bt1_axi_isr(int irq, void *data)
 {
 	struct bt1_axi *axi = data;
-	u32 low = 0, high = 0;
+	unsigned int low = 0, high = 0;
 
 	regmap_read(axi->sys_regs, BT1_AXI_WERRL, &low);
 	regmap_read(axi->sys_regs, BT1_AXI_WERRH, &high);

base-commit: 2ccdd1b13c591d306f0401d98dedc4bdcd02b421
-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ