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 47/69] drivers/tty/synclink_gt.c:576:54: error: unknown type name 'XX'
Date: Wed, 15 Sep 2021 12:45:55 +0800 [thread overview]
Message-ID: <202109151248.sb9B8zl2-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2678 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head: d1598a736155d728b8093eea08478b4c42ffbe72
commit: d6b07e2c4ef107c86c64d2a7d228a41c70fb9361 [47/69] synclink_gt: crap
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 11.2.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=d6b07e2c4ef107c86c64d2a7d228a41c70fb9361
git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
git fetch --no-tags jirislaby devel
git checkout d6b07e2c4ef107c86c64d2a7d228a41c70fb9361
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash
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/synclink_gt.c:576:54: error: unknown type name 'XX'
576 | static void ldisc_receive_buf(struct tty_struct *tty,XX
| ^~
drivers/tty/synclink_gt.c: In function 'rx_get_frame':
>> drivers/tty/synclink_gt.c:4663:33: error: implicit declaration of function 'ldisc_receive_buf'; did you mean 'tty_ldisc_receive_buf'? [-Werror=implicit-function-declaration]
4663 | ldisc_receive_buf(tty, info->tmp_rbuf, info->flag_buf, framesize);
| ^~~~~~~~~~~~~~~~~
| tty_ldisc_receive_buf
cc1: all warnings being treated as errors
vim +/XX +576 drivers/tty/synclink_gt.c
567
568 /*
569 * line discipline callback wrappers
570 *
571 * The wrappers maintain line discipline references
572 * while calling into the line discipline.
573 *
574 * ldisc_receive_buf - pass receive data to line discipline
575 */
> 576 static void ldisc_receive_buf(struct tty_struct *tty,XX
577 const __u8 *data, char *flags, int count)
578 {
579 struct tty_ldisc *ld;
580 if (!tty)
581 return;
582 ld = tty_ldisc_ref(tty);
583 if (ld) {
584 if (ld->ops->receive_buf)
585 ld->ops->receive_buf(tty, data, flags, count);
586 tty_ldisc_deref(ld);
587 }
588 }
589
---
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: 69237 bytes --]
reply other threads:[~2021-09-15 4:46 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=202109151248.sb9B8zl2-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
all inboxes | Powered by JetHome®