[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200624150704.2729736-2-lee.jones@linaro.org>
Date: Wed, 24 Jun 2020 16:06:55 +0100
From: Lee Jones <lee.jones@...aro.org>
To: lee.jones@...aro.org
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org, Tony Lindgren <tony@...mide.com>,
Kai Svahn <kai.svahn@...ia.com>, Syed Khasim <x0khasim@...com>,
linux-omap@...r.kernel.org
Subject: [PATCH 01/10] mfd: twl4030-irq: Fix incorrect type in assignment warning
Silences Sparse warning:
drivers/mfd/twl4030-irq.c:485:26: warning: incorrect type in assignment (different base types)
drivers/mfd/twl4030-irq.c:485:26: expected unsigned int [usertype] word
drivers/mfd/twl4030-irq.c:485:26: got restricted __le32 [usertype]
Cc: <stable@...r.kernel.org>
Cc: Tony Lindgren <tony@...mide.com>
Cc: Kai Svahn <kai.svahn@...ia.com>
Cc: Syed Khasim <x0khasim@...com>
Cc: linux-omap@...r.kernel.org
Signed-off-by: Lee Jones <lee.jones@...aro.org>
---
drivers/mfd/twl4030-irq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/twl4030-irq.c b/drivers/mfd/twl4030-irq.c
index 910a304b397ce..d05bc74daba32 100644
--- a/drivers/mfd/twl4030-irq.c
+++ b/drivers/mfd/twl4030-irq.c
@@ -477,7 +477,7 @@ static void twl4030_sih_bus_sync_unlock(struct irq_data *data)
if (agent->imr_change_pending) {
union {
- u32 word;
+ __le32 word;
u8 bytes[4];
} imr;
--
2.25.1
Powered by blists - more mailing lists