From 570535d8874a2b65127fc1831f54fb17184c613a Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Tue, 10 Nov 2020 18:29:21 +0900 Subject: [PATCH] arch/arm/src/kinetis/kinetis_serial.c: Fix a type mismatch --- arch/arm/src/kinetis/kinetis_serial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/kinetis/kinetis_serial.c b/arch/arm/src/kinetis/kinetis_serial.c index 7ef82e78e4..d81b40e2a7 100644 --- a/arch/arm/src/kinetis/kinetis_serial.c +++ b/arch/arm/src/kinetis/kinetis_serial.c @@ -343,7 +343,7 @@ static int up_interrupts(int irq, void *context, FAR void *arg); static int up_ioctl(struct file *filep, int cmd, unsigned long arg); static void up_rxint(struct uart_dev_s *dev, bool enable); #if !defined(SERIAL_HAVE_ALL_DMA) -static int up_receive(struct uart_dev_s *dev, uint32_t *status); +static int up_receive(struct uart_dev_s *dev, unsigned int *status); static bool up_rxavailable(struct uart_dev_s *dev); #endif #ifdef CONFIG_SERIAL_IFLOWCONTROL @@ -1567,7 +1567,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg) ****************************************************************************/ #if !defined(SERIAL_HAVE_ALL_DMA) -static int up_receive(struct uart_dev_s *dev, uint32_t *status) +static int up_receive(struct uart_dev_s *dev, unsigned int *status) { struct up_dev_s *priv = (struct up_dev_s *)dev->priv; uint8_t s1;