Re: linux-next: build warnings after merge of the tty tree

From: Greg KH
Date: Thu Mar 15 2018 - 13:34:10 EST


On Thu, Mar 15, 2018 at 05:43:31PM +1100, Stephen Rothwell wrote:
> Hi Greg,
>
> After merging the tty tree, today's linux-next build (arm
> multi_v7_defconfig) produced these warnings:
>
> drivers/tty/serial/stm32-usart.c:155:12: warning: 'stm32_init_rs485' defined but not used [-Wunused-function]
> static int stm32_init_rs485(struct uart_port *port,
> ^~~~~~~~~~~~~~~~
> drivers/tty/serial/stm32-usart.c:100:12: warning: 'stm32_config_rs485' defined but not used [-Wunused-function]
> static int stm32_config_rs485(struct uart_port *port,
> ^~~~~~~~~~~~~~~~~~
>
> Introduced by commit
>
> 1bcda09d2910 ("serial: stm32: add support for RS485 hardware control mode")

Fix for this just hit my tree, thanks for the notice.

greg k-h