Skip to content

Commit

Permalink
sparse: lpc uart interrupt pointer endianness
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stewartsmith authored and oohal committed Jul 19, 2019
1 parent 64b30ec commit 4b2af1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/lpc-uart.c
Expand Up @@ -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;
Expand Down

0 comments on commit 4b2af1e

Please sign in to comment.