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

From: Greg KH
Date: Mon Feb 06 2017 - 03:52:32 EST


On Mon, Feb 06, 2017 at 03:16:38PM +1100, Stephen Rothwell wrote:
> Hi Greg,
>
> After merging the tty tree, today's linux-next build
> (arm_multi_v7_defconfig) produced this warning:
>
> drivers/tty/serial/sh-sci.c:977:12: warning: 'scif_set_rtrg' defined but not used [-Wunused-function]
> static int scif_set_rtrg(struct uart_port *port, int rx_trig)
> ^
>
> Introduced by commit
>
> a380ed461f66 ("serial: sh-sci: implement FIFO threshold register setting")
>
> Forgot to add a call to this new function?

I think this is fixed by a patch I just took into my tree, which isn't
in linux-next yet. Right Ulrich? Or is this still a warning with your
latest patch series?

thanks,

greg k-h