* [vfs:work.tty-ioctl 9/36] drivers//tty/amiserial.c:1602:3: error: 'const struct tty_operations' has no member named 'tiogsserial'; did you mean 'get_serial'?
@ 2018-09-12 17:10 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-09-12 17:10 UTC (permalink / raw)
To: Al Viro; +Cc: kbuild-all, linux-fsdevel
[-- Attachment #1: Type: text/plain, Size: 3177 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.tty-ioctl
head: 7e7e30f59ed8ad96e5c4b989382f98b10bb5936e
commit: e353f4ab61bef96e725899bbef39d052435c6cac [9/36] amiserial: switch to ->[sg]et_serial()
config: m68k-multi_defconfig (attached as .config)
compiler: m68k-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 e353f4ab61bef96e725899bbef39d052435c6cac
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=m68k
All error/warnings (new ones prefixed by >>):
drivers//tty/amiserial.c: In function 'set_serial_info':
>> drivers//tty/amiserial.c:1079:3: error: 'retval' undeclared (first use in this function); did you mean 'sigval'?
retval = startup(tty, state);
^~~~~~
sigval
drivers//tty/amiserial.c:1079:3: note: each undeclared identifier is reported only once for each function it appears in
drivers//tty/amiserial.c: At top level:
>> drivers//tty/amiserial.c:1602:3: error: 'const struct tty_operations' has no member named 'tiogsserial'; did you mean 'get_serial'?
.tiogsserial = get_serial_info,
^~~~~~~~~~~
get_serial
>> drivers//tty/amiserial.c:1602:17: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
.tiogsserial = get_serial_info,
^~~~~~~~~~~~~~~
drivers//tty/amiserial.c:1602:17: note: (near initialization for 'serial_ops')
>> drivers//tty/amiserial.c:1602:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
drivers//tty/amiserial.c:1602:17: note: (near initialization for 'serial_ops.show_fdinfo')
drivers//tty/amiserial.c: In function 'set_serial_info':
>> drivers//tty/amiserial.c:1082:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
cc1: some warnings being treated as errors
vim +1602 drivers//tty/amiserial.c
1577
1578
1579 static const struct tty_operations serial_ops = {
1580 .open = rs_open,
1581 .close = rs_close,
1582 .write = rs_write,
1583 .put_char = rs_put_char,
1584 .flush_chars = rs_flush_chars,
1585 .write_room = rs_write_room,
1586 .chars_in_buffer = rs_chars_in_buffer,
1587 .flush_buffer = rs_flush_buffer,
1588 .ioctl = rs_ioctl,
1589 .throttle = rs_throttle,
1590 .unthrottle = rs_unthrottle,
1591 .set_termios = rs_set_termios,
1592 .stop = rs_stop,
1593 .start = rs_start,
1594 .hangup = rs_hangup,
1595 .break_ctl = rs_break,
1596 .send_xchar = rs_send_xchar,
1597 .wait_until_sent = rs_wait_until_sent,
1598 .tiocmget = rs_tiocmget,
1599 .tiocmset = rs_tiocmset,
1600 .get_icount = rs_get_icount,
1601 .set_serial = set_serial_info,
> 1602 .tiogsserial = get_serial_info,
1603 .proc_show = rs_proc_show,
1604 };
1605
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 13941 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-09-12 22:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-12 17:10 [vfs:work.tty-ioctl 9/36] drivers//tty/amiserial.c:1602:3: error: 'const struct tty_operations' has no member named 'tiogsserial'; did you mean 'get_serial'? kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).