Re: [tty:tty-testing 33/44] drivers/tty/serial/imx.c:1675:23: error: 'sport' undeclared; did you mean 'port'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 02, 2018 at 05:04:27AM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
> head:   01883ef9c2b48e43c691ad7509b6b15b0b255b8c
> commit: 0e75f354db1557b3dbb35f77afb73c2be2167e08 [33/44] serial: imx: add wrappers for writel and readl
> config: sparc64-allmodconfig (attached as .config)
> compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
> reproduce:
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout 0e75f354db1557b3dbb35f77afb73c2be2167e08
>         # save the attached .config to linux build tree
>         make.cross ARCH=sparc64 
> 
> All error/warnings (new ones prefixed by >>):
> 
>    drivers/tty/serial/imx.c: In function 'imx_poll_get_char':
> >> drivers/tty/serial/imx.c:1675:23: error: 'sport' undeclared (first use in this function); did you mean 'port'?
>      if (!(imx_uart_readl(sport, USR2) & USR2_RDR))
>                           ^~~~~
>                           port
>    drivers/tty/serial/imx.c:1675:23: note: each undeclared identifier is reported only once for each function it appears in
>    drivers/tty/serial/imx.c: In function 'imx_poll_put_char':
>    drivers/tty/serial/imx.c:1687:27: error: 'sport' undeclared (first use in this function); did you mean 'port'?
>       status = imx_uart_readl(sport, USR1);
>                               ^~~~~
>                               port
> >> drivers/tty/serial/imx.c:1695:34: error: 'portUSR2' undeclared (first use in this function); did you mean 'port'?
>       status = imx_uart_readl(sport, portUSR2);
>                                      ^~~~~~~~
>                                      port
>    drivers/tty/serial/imx.c: In function 'imx_poll_get_char':
> >> drivers/tty/serial/imx.c:1679:1: warning: control reaches end of non-void function [-Wreturn-type]
>     }
>     ^

Ugh.  Uwe, I'm dropping all of these patches from my tree now, sorry.
Please fix up the build and send them again.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux