diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2019-07-18 16:51:13 +1000 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2019-07-19 17:45:50 +1000 |
commit | 4b2af1e58050213a6cb80fd63a391287d87e3ab1 (patch) | |
tree | b92c8d483c7f08f7728e11db97d71b39c3285968 /hw/lpc-uart.c | |
parent | 64b30ec54bf7d225f2f0e87d0c075141e4e04ddd (diff) | |
download | skiboot-4b2af1e58050213a6cb80fd63a391287d87e3ab1.zip skiboot-4b2af1e58050213a6cb80fd63a391287d87e3ab1.tar.gz skiboot-4b2af1e58050213a6cb80fd63a391287d87e3ab1.tar.bz2 |
sparse: lpc uart interrupt pointer endianness
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@linux.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'hw/lpc-uart.c')
-rw-r--r-- | hw/lpc-uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/lpc-uart.c b/hw/lpc-uart.c index bca10e0..f964355 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; |