public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jiri Slaby <jslaby@suse.cz>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [jirislaby:devel 7/38] drivers/tty/n_tty.c:2453:5: error: 'struct tty_ldisc_ops' has no member named 'flags'
Date: Fri, 6 Aug 2021 20:58:59 +0800	[thread overview]
Message-ID: <202108062050.PMZAMnx6-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head:   f7af18a9564a3d79c7ac5291734ef0b68c1f765d
commit: 687327cbe4f6d79410362559187453249016694c [7/38] tty: remove flags from struct tty_ldisc_ops
config: h8300-randconfig-r036-20210804 (attached as .config)
compiler: h8300-linux-gcc (GCC) 10.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=687327cbe4f6d79410362559187453249016694c
        git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
        git fetch --no-tags jirislaby devel
        git checkout 687327cbe4f6d79410362559187453249016694c
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=h8300 SHELL=/bin/bash drivers/

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/n_tty.c: In function 'n_tty_inherit_ops':
>> drivers/tty/n_tty.c:2453:5: error: 'struct tty_ldisc_ops' has no member named 'flags'
    2453 |  ops->flags = 0;
         |     ^~


vim +2453 drivers/tty/n_tty.c

572b9adbd40b55 drivers/char/n_tty.c Rodolfo Giometti 2010-03-10  2441  
572b9adbd40b55 drivers/char/n_tty.c Rodolfo Giometti 2010-03-10  2442  /**
572b9adbd40b55 drivers/char/n_tty.c Rodolfo Giometti 2010-03-10  2443   *	n_tty_inherit_ops	-	inherit N_TTY methods
572b9adbd40b55 drivers/char/n_tty.c Rodolfo Giometti 2010-03-10  2444   *	@ops: struct tty_ldisc_ops where to save N_TTY methods
572b9adbd40b55 drivers/char/n_tty.c Rodolfo Giometti 2010-03-10  2445   *
27228732aa94f3 drivers/tty/n_tty.c  Peter Hurley     2016-01-09  2446   *	Enables a 'subclass' line discipline to 'inherit' N_TTY methods.
572b9adbd40b55 drivers/char/n_tty.c Rodolfo Giometti 2010-03-10  2447   */
572b9adbd40b55 drivers/char/n_tty.c Rodolfo Giometti 2010-03-10  2448  
572b9adbd40b55 drivers/char/n_tty.c Rodolfo Giometti 2010-03-10  2449  void n_tty_inherit_ops(struct tty_ldisc_ops *ops)
572b9adbd40b55 drivers/char/n_tty.c Rodolfo Giometti 2010-03-10  2450  {
27228732aa94f3 drivers/tty/n_tty.c  Peter Hurley     2016-01-09  2451  	*ops = n_tty_ops;
572b9adbd40b55 drivers/char/n_tty.c Rodolfo Giometti 2010-03-10  2452  	ops->owner = NULL;
19475209331168 drivers/tty/n_tty.c  Jiri Slaby       2021-05-05 @2453  	ops->flags = 0;
572b9adbd40b55 drivers/char/n_tty.c Rodolfo Giometti 2010-03-10  2454  }
572b9adbd40b55 drivers/char/n_tty.c Rodolfo Giometti 2010-03-10  2455  EXPORT_SYMBOL_GPL(n_tty_inherit_ops);
27228732aa94f3 drivers/tty/n_tty.c  Peter Hurley     2016-01-09  2456  

:::::: The code at line 2453 was first introduced by commit
:::::: 19475209331168cdb8070a011650535f1c54a730 tty: drop tty_ldisc_ops::refcount

:::::: 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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 38148 bytes --]

                 reply	other threads:[~2021-08-06 12:59 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=202108062050.PMZAMnx6-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jslaby@suse.cz \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox