* [jirislaby:devel 12/117] drivers/net/caif/caif_serial.c:92:11: error: 'struct tty_struct' has no member named 'packet'
@ 2021-04-08 1:49 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-08 1:49 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 4237 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head: 25474d6c88139da62baa17b0b0f3f271843dd9bb
commit: b0b1e3cf062c45e6d87d2227d0fe0f112c0dc1d9 [12/117] tty: cumulate and document tty_struct::ctrl* members
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git/commit/?id=b0b1e3cf062c45e6d87d2227d0fe0f112c0dc1d9
git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
git fetch --no-tags jirislaby devel
git checkout b0b1e3cf062c45e6d87d2227d0fe0f112c0dc1d9
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/net/caif/caif_serial.c: In function 'update_tty_status':
>> drivers/net/caif/caif_serial.c:92:11: error: 'struct tty_struct' has no member named 'packet'
92 | ser->tty->packet << 2;
| ^~
vim +92 drivers/net/caif/caif_serial.c
9b27105b4a44c5 Sjur Braendeland 2010-03-30 83
9b27105b4a44c5 Sjur Braendeland 2010-03-30 84 static void caifdev_setup(struct net_device *dev);
9b27105b4a44c5 Sjur Braendeland 2010-03-30 85 static void ldisc_tx_wakeup(struct tty_struct *tty);
9b27105b4a44c5 Sjur Braendeland 2010-03-30 86 #ifdef CONFIG_DEBUG_FS
9b27105b4a44c5 Sjur Braendeland 2010-03-30 87 static inline void update_tty_status(struct ser_device *ser)
9b27105b4a44c5 Sjur Braendeland 2010-03-30 88 {
9b27105b4a44c5 Sjur Braendeland 2010-03-30 89 ser->tty_status =
73ba0e5e5ea728 Jiri Slaby 2021-01-21 90 ser->tty->flow.stopped << 5 |
73ba0e5e5ea728 Jiri Slaby 2021-01-21 91 ser->tty->flow.tco_stopped << 3 |
0bc1bd092af3c7 Jiri Slaby 2021-01-05 @92 ser->tty->packet << 2;
9b27105b4a44c5 Sjur Braendeland 2010-03-30 93 }
9b27105b4a44c5 Sjur Braendeland 2010-03-30 94 static inline void debugfs_init(struct ser_device *ser, struct tty_struct *tty)
9b27105b4a44c5 Sjur Braendeland 2010-03-30 95 {
53f6f391786e01 Greg Kroah-Hartman 2019-08-10 96 ser->debugfs_tty_dir = debugfs_create_dir(tty->name, debugfsdir);
53f6f391786e01 Greg Kroah-Hartman 2019-08-10 97
53f6f391786e01 Greg Kroah-Hartman 2019-08-10 98 debugfs_create_blob("last_tx_msg", 0400, ser->debugfs_tty_dir,
9b27105b4a44c5 Sjur Braendeland 2010-03-30 99 &ser->tx_blob);
9b27105b4a44c5 Sjur Braendeland 2010-03-30 100
53f6f391786e01 Greg Kroah-Hartman 2019-08-10 101 debugfs_create_blob("last_rx_msg", 0400, ser->debugfs_tty_dir,
9b27105b4a44c5 Sjur Braendeland 2010-03-30 102 &ser->rx_blob);
9b27105b4a44c5 Sjur Braendeland 2010-03-30 103
b52517e456f8bb Geert Uytterhoeven 2019-10-25 104 debugfs_create_xul("ser_state", 0400, ser->debugfs_tty_dir,
b52517e456f8bb Geert Uytterhoeven 2019-10-25 105 &ser->state);
9b27105b4a44c5 Sjur Braendeland 2010-03-30 106
53f6f391786e01 Greg Kroah-Hartman 2019-08-10 107 debugfs_create_x8("tty_status", 0400, ser->debugfs_tty_dir,
9b27105b4a44c5 Sjur Braendeland 2010-03-30 108 &ser->tty_status);
9b27105b4a44c5 Sjur Braendeland 2010-03-30 109
9b27105b4a44c5 Sjur Braendeland 2010-03-30 110 ser->tx_blob.data = ser->tx_data;
9b27105b4a44c5 Sjur Braendeland 2010-03-30 111 ser->tx_blob.size = 0;
9b27105b4a44c5 Sjur Braendeland 2010-03-30 112 ser->rx_blob.data = ser->rx_data;
9b27105b4a44c5 Sjur Braendeland 2010-03-30 113 ser->rx_blob.size = 0;
9b27105b4a44c5 Sjur Braendeland 2010-03-30 114 }
9b27105b4a44c5 Sjur Braendeland 2010-03-30 115
:::::: The code at line 92 was first introduced by commit
:::::: 0bc1bd092af3c7c0b025ece93c3a86916f89f3ca tty_port: drop last traces of low_latency
:::::: TO: Jiri Slaby <jslaby@suse.cz>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 65553 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-08 1:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-08 1:49 [jirislaby:devel 12/117] drivers/net/caif/caif_serial.c:92:11: error: 'struct tty_struct' has no member named 'packet' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.