All of lore.kernel.org
 help / color / mirror / Atom feed
* [jirislaby:devel 7/38] drivers/tty/n_tty.c:2453:7: error: no member named 'flags' in 'struct tty_ldisc_ops'
@ 2021-08-06 18:23 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-06 18:23 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: clang-built-linux, kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 3410 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: s390-buildonly-randconfig-r005-20210805 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 42b9c2a17a0b63cccf3ac197a82f91b28e53e643)
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 s390 cross compiling tool for clang build
        # apt-get install binutils-s390x-linux-gnu
        # 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=clang make.cross O=build_dir ARCH=s390 SHELL=/bin/bash drivers/tty/

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:2453:7: error: no member named 'flags' in 'struct tty_ldisc_ops'
           ops->flags = 0;
           ~~~  ^
   1 error generated.


vim +2453 drivers/tty/n_tty.c

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [jirislaby:devel 7/38] drivers/tty/n_tty.c:2453:7: error: no member named 'flags' in 'struct tty_ldisc_ops'
@ 2021-08-06 18:23 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-06 18:23 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3469 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: s390-buildonly-randconfig-r005-20210805 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 42b9c2a17a0b63cccf3ac197a82f91b28e53e643)
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 s390 cross compiling tool for clang build
        # apt-get install binutils-s390x-linux-gnu
        # 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=clang make.cross O=build_dir ARCH=s390 SHELL=/bin/bash drivers/tty/

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:2453:7: error: no member named 'flags' in 'struct tty_ldisc_ops'
           ops->flags = 0;
           ~~~  ^
   1 error generated.


vim +2453 drivers/tty/n_tty.c

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-06 18:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-06 18:23 [jirislaby:devel 7/38] drivers/tty/n_tty.c:2453:7: error: no member named 'flags' in 'struct tty_ldisc_ops' kernel test robot
2021-08-06 18:23 ` 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.