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 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
Date: Fri, 23 Jul 2021 00:51:40 +0800 [thread overview]
Message-ID: <202107230025.Stn5iHTY-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-07-22 16:57 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=202107230025.Stn5iHTY-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;
as well as URLs for NNTP newsgroup(s).