[Skiboot] [PATCH 06/10] sparse: lpc uart interrupt pointer endianness

Stewart Smith stewart at linux.ibm.com
Thu Jul 18 16:51:13 AEST 2019


hw/lpc-uart.c:674:47: warning: incorrect type in argument 1 (different base types)
hw/lpc-uart.c:674:47:    expected restricted beint32_t [usertype] be_val
hw/lpc-uart.c:674:47:    got unsigned int const [usertype]

Signed-off-by: Stewart Smith <stewart at linux.ibm.com>
---
 hw/lpc-uart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/lpc-uart.c b/hw/lpc-uart.c
index bca10e0e98dc..f9643553341c 100644
--- a/hw/lpc-uart.c
+++ b/hw/lpc-uart.c
@@ -617,7 +617,7 @@ void uart_init(void)
 	const struct dt_property *prop;
 	struct dt_node *n;
 	char *path __unused;
-	const uint32_t *irqp;
+	const be32 *irqp;
 
 	/* Clean up after early_uart_init() */
 	mmio_uart_base = NULL;
-- 
2.21.0



More information about the Skiboot mailing list