From b4815f8fc9d17f0e7f21f21d5d4e73d8d1f4e083 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 13 Nov 2020 15:57:22 +0900 Subject: [PATCH] arch/arm/src/kinetis/kinetis_lpserial.c: Fix a type mismatch --- arch/arm/src/kinetis/kinetis_lpserial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/kinetis/kinetis_lpserial.c b/arch/arm/src/kinetis/kinetis_lpserial.c index d53d417796..6bf44b0189 100644 --- a/arch/arm/src/kinetis/kinetis_lpserial.c +++ b/arch/arm/src/kinetis/kinetis_lpserial.c @@ -257,7 +257,7 @@ static int kinetis_attach(struct uart_dev_s *dev); static void kinetis_detach(struct uart_dev_s *dev); static int kinetis_interrupt(int irq, void *context, void *arg); static int kinetis_ioctl(struct file *filep, int cmd, unsigned long arg); -static int kinetis_receive(struct uart_dev_s *dev, uint32_t *status); +static int kinetis_receive(struct uart_dev_s *dev, unsigned int *status); static void kinetis_rxint(struct uart_dev_s *dev, bool enable); static bool kinetis_rxavailable(struct uart_dev_s *dev); #ifdef CONFIG_SERIAL_IFLOWCONTROL @@ -1076,7 +1076,7 @@ static int kinetis_ioctl(struct file *filep, int cmd, unsigned long arg) * ****************************************************************************/ -static int kinetis_receive(struct uart_dev_s *dev, uint32_t *status) +static int kinetis_receive(struct uart_dev_s *dev, unsigned int *status) { struct kinetis_dev_s *priv = (struct kinetis_dev_s *)dev->priv; uint32_t regval;