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

2018-03-15 Thread Greg KH
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-func

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

2018-03-14 Thread 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, ^

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

2015-03-09 Thread Stephen Rothwell
Hi Greg, After merging the tty tree, today's linux-next build (x86_64 allmodconfig) produced these warnings: drivers/tty/serial/serial_mctrl_gpio.c: In function 'mctrl_gpio_init': drivers/tty/serial/serial_mctrl_gpio.c:110:4: warning: return makes pointer from integer without a cast return P