Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Mar 15, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 7 lines · Stephen Rothwell

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,

Quoted 8 lines
            ^~~~~~~~~~~~~~~~
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