All of lore.kernel.org
 help / color / mirror / Atom feed
* [jirislaby:devel 19/62] include/linux/tty_flip.h:43:34: warning: 'struct tty_ldisc' declared inside parameter list will not be visible outside of this definition or declaration
@ 2021-07-22 16:51 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-22 16:51 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: kbuild-all, linux-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head:   bc9f741e3e9e4828b7bb963e951a24ec7680346c
commit: bc13da86df7a60169f8d5e3eca49681bb19f3164 [19/62] tty: tty_flip.h needs only tty_buffer and tty_port
config: m68k-allmodconfig (attached as .config)
compiler: m68k-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=bc13da86df7a60169f8d5e3eca49681bb19f3164
        git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
        git fetch --no-tags jirislaby devel
        git checkout bc13da86df7a60169f8d5e3eca49681bb19f3164
        # 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=m68k 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 warnings (new ones prefixed by >>):

   In file included from drivers/tty/amiserial.c:59:
>> include/linux/tty_flip.h:43:34: warning: 'struct tty_ldisc' declared inside parameter list will not be visible outside of this definition or declaration
      43 | int tty_ldisc_receive_buf(struct tty_ldisc *ld, const unsigned char *p,
         |                                  ^~~~~~~~~


vim +43 include/linux/tty_flip.h

2832fc11f13606 Alan Cox   2010-02-18  42  
d4b7b6837b4e64 Jiri Slaby 2021-06-19 @43  int tty_ldisc_receive_buf(struct tty_ldisc *ld, const unsigned char *p,
d4b7b6837b4e64 Jiri Slaby 2021-06-19  44  		const char *f, int count);
d4b7b6837b4e64 Jiri Slaby 2021-06-19  45  

:::::: The code at line 43 was first introduced by commit
:::::: d4b7b6837b4e648d33d3fa355202d03b2a7e415d tty: move tty_ldisc_receive_buf to tty_flip.h

:::::: TO: Jiri Slaby <jslaby@suse.cz>
:::::: CC: Jiri Slaby <jslaby@suse.cz>

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

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

* [jirislaby:devel 19/62] include/linux/tty_flip.h:43:34: warning: 'struct tty_ldisc' declared inside parameter list will not be visible outside of this definition or declaration
@ 2021-07-22 16:51 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-22 16:51 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head:   bc9f741e3e9e4828b7bb963e951a24ec7680346c
commit: bc13da86df7a60169f8d5e3eca49681bb19f3164 [19/62] tty: tty_flip.h needs only tty_buffer and tty_port
config: m68k-allmodconfig (attached as .config)
compiler: m68k-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=bc13da86df7a60169f8d5e3eca49681bb19f3164
        git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
        git fetch --no-tags jirislaby devel
        git checkout bc13da86df7a60169f8d5e3eca49681bb19f3164
        # 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=m68k 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 warnings (new ones prefixed by >>):

   In file included from drivers/tty/amiserial.c:59:
>> include/linux/tty_flip.h:43:34: warning: 'struct tty_ldisc' declared inside parameter list will not be visible outside of this definition or declaration
      43 | int tty_ldisc_receive_buf(struct tty_ldisc *ld, const unsigned char *p,
         |                                  ^~~~~~~~~


vim +43 include/linux/tty_flip.h

2832fc11f13606 Alan Cox   2010-02-18  42  
d4b7b6837b4e64 Jiri Slaby 2021-06-19 @43  int tty_ldisc_receive_buf(struct tty_ldisc *ld, const unsigned char *p,
d4b7b6837b4e64 Jiri Slaby 2021-06-19  44  		const char *f, int count);
d4b7b6837b4e64 Jiri Slaby 2021-06-19  45  

:::::: The code at line 43 was first introduced by commit
:::::: d4b7b6837b4e648d33d3fa355202d03b2a7e415d tty: move tty_ldisc_receive_buf to tty_flip.h

:::::: TO: Jiri Slaby <jslaby@suse.cz>
:::::: CC: Jiri Slaby <jslaby@suse.cz>

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

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

end of thread, other threads:[~2021-07-22 16:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-22 16:51 [jirislaby:devel 19/62] include/linux/tty_flip.h:43:34: warning: 'struct tty_ldisc' declared inside parameter list will not be visible outside of this definition or declaration kernel test robot
2021-07-22 16:51 ` 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.