All of lore.kernel.org
 help / color / mirror / Atom feed
* [jirislaby:devel 12/117] drivers/net/caif/caif_serial.c:92:13: error: no member named 'packet' in 'struct tty_struct'
@ 2021-04-08  1:10 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-08  1:10 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 4598 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: x86_64-randconfig-r003-20210407 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project c060945b23a1c54d4b2a053ff4b093a2277b303d)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # 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
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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:92:13: error: no member named 'packet' in 'struct tty_struct'
                   ser->tty->packet << 2;
                   ~~~~~~~~  ^
   1 error generated.


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: 36630 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-08  1:10 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:10 [jirislaby:devel 12/117] drivers/net/caif/caif_serial.c:92:13: error: no member named 'packet' in 'struct tty_struct' 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.