LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [jirislaby:devel 7/38] drivers/tty/n_tty.c:2453:5: error: 'struct tty_ldisc_ops' has no member named 'flags'
@ 2021-08-06 12:58 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-06 12:58 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: kbuild-all, linux-kernel

[-- 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 --]

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

only message in thread, other threads:[~2021-08-06 12:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-06 12:58 [jirislaby:devel 7/38] drivers/tty/n_tty.c:2453:5: error: 'struct tty_ldisc_ops' has no member named 'flags' kernel 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).