lkml.org 
[lkml]   [2018]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] tty: serial: add driver for the SiFive UART
Hi Paul,

I love your patch! Yet something to improve:

[auto build test ERROR on tty/tty-testing]
[also build test ERROR on v4.19-rc8 next-20181019]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Paul-Walmsley/dt-bindings-serial-add-documentation-for-the-SiFive-UART-driver/20181019-165529
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-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
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=powerpc

All errors (new ones prefixed by >>):

>> drivers/tty/serial/sifive.c:891:20: error: 'sifive_serial_poll_put_char' undeclared here (not in a function); did you mean 'sifive_serial_console_putchar'?
.poll_put_char = sifive_serial_poll_put_char,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
sifive_serial_console_putchar
drivers/tty/serial/sifive.c:892:20: error: 'sifive_serial_poll_get_char' undeclared here (not in a function); did you mean 'sifive_serial_poll_put_char'?
.poll_get_char = sifive_serial_poll_get_char,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
sifive_serial_poll_put_char

vim +891 drivers/tty/serial/sifive.c

873
874 static const struct uart_ops sifive_serial_uops = {
875 .tx_empty = sifive_serial_tx_empty,
876 .set_mctrl = sifive_serial_set_mctrl,
877 .get_mctrl = sifive_serial_get_mctrl,
878 .stop_tx = sifive_serial_stop_tx,
879 .start_tx = sifive_serial_start_tx,
880 .stop_rx = sifive_serial_stop_rx,
881 .break_ctl = sifive_serial_break_ctl,
882 .startup = sifive_serial_startup,
883 .shutdown = sifive_serial_shutdown,
884 .set_termios = sifive_serial_set_termios,
885 .type = sifive_serial_type,
886 .release_port = sifive_serial_release_port,
887 .request_port = sifive_serial_request_port,
888 .config_port = sifive_serial_config_port,
889 .verify_port = sifive_serial_verify_port,
890 #ifdef CONFIG_CONSOLE_POLL
> 891 .poll_put_char = sifive_serial_poll_put_char,
892 .poll_get_char = sifive_serial_poll_get_char,
893 #endif
894 };
895

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2018-10-19 12:43    [W:0.070 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site