All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [jirislaby:devel 26/50] drivers/tty/amiserial.c:312:26: error: 'struct tty_struct' has no member named 'stopped'; did you mean
Date: Fri, 22 Jan 2021 02:49:18 +0800	[thread overview]
Message-ID: <202101220211.uFMbX7xp-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 5654 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head:   9ac08ce1ba94c445a150c57c36326cd7b4fea191
commit: d90926332a0403814499f73d4bcd0e45c9ae488e [26/50] cumulate flow
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git/commit/?id=d90926332a0403814499f73d4bcd0e45c9ae488e
        git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
        git fetch --no-tags jirislaby devel
        git checkout d90926332a0403814499f73d4bcd0e45c9ae488e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k 

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/tty/amiserial.c: In function 'transmit_chars':
>> drivers/tty/amiserial.c:312:26: error: 'struct tty_struct' has no member named 'stopped'; did you mean 'hw_stopped'?
     312 |      || info->tport.tty->stopped
         |                          ^~~~~~~
         |                          hw_stopped
   drivers/tty/amiserial.c: In function 'shutdown':
   drivers/tty/amiserial.c:556:23: warning: variable 'state' set but not used [-Wunused-but-set-variable]
     556 |  struct serial_state *state;
         |                       ^~~~~
   drivers/tty/amiserial.c: In function 'rs_flush_chars':
   drivers/tty/amiserial.c:771:14: error: 'struct tty_struct' has no member named 'stopped'; did you mean 'hw_stopped'?
     771 |      || tty->stopped
         |              ^~~~~~~
         |              hw_stopped
   drivers/tty/amiserial.c: In function 'rs_write':
   drivers/tty/amiserial.c:815:15: error: 'struct tty_struct' has no member named 'stopped'; did you mean 'hw_stopped'?
     815 |      && !tty->stopped
         |               ^~~~~~~
         |               hw_stopped


vim +312 drivers/tty/amiserial.c

^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  299  
916b765675b7044b drivers/tty/amiserial.c  Jiri Slaby     2012-03-05  300  static void transmit_chars(struct serial_state *info)
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  301  {
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  302  	custom.intreq = IF_TBE;
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  303  	mb();
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  304  	if (info->x_char) {
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  305  	        custom.serdat = info->x_char | 0x100;
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  306  		mb();
916b765675b7044b drivers/tty/amiserial.c  Jiri Slaby     2012-03-05  307  		info->icount.tx++;
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  308  		info->x_char = 0;
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  309  		return;
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  310  	}
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  311  	if (info->xmit.head == info->xmit.tail
87758791c9971543 drivers/tty/amiserial.c  Jiri Slaby     2012-03-05 @312  	    || info->tport.tty->stopped
87758791c9971543 drivers/tty/amiserial.c  Jiri Slaby     2012-03-05  313  	    || info->tport.tty->hw_stopped) {
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  314  		info->IER &= ~UART_IER_THRI;
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  315  	        custom.intena = IF_TBE;
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  316  		mb();
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  317  		return;
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  318  	}
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  319  
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  320  	custom.serdat = info->xmit.buf[info->xmit.tail++] | 0x100;
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  321  	mb();
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  322  	info->xmit.tail = info->xmit.tail & (SERIAL_XMIT_SIZE-1);
916b765675b7044b drivers/tty/amiserial.c  Jiri Slaby     2012-03-05  323  	info->icount.tx++;
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  324  
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  325  	if (CIRC_CNT(info->xmit.head,
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  326  		     info->xmit.tail,
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  327  		     SERIAL_XMIT_SIZE) < WAKEUP_CHARS)
87758791c9971543 drivers/tty/amiserial.c  Jiri Slaby     2012-03-05  328  		tty_wakeup(info->tport.tty);
^1da177e4c3f4152 drivers/char/amiserial.c Linus Torvalds 2005-04-16  329  

:::::: The code at line 312 was first introduced by commit
:::::: 87758791c99715433841f1c054b49166506513e4 TTY: amiserial/simserial, use tty_port

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

                 reply	other threads:[~2021-01-21 18:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202101220211.uFMbX7xp-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.