linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [jirislaby:devel 47/69] drivers/tty/synclink_gt.c:576:54: error: unknown type name 'XX'
@ 2021-09-15  4:45 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-15  4:45 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: kbuild-all, linux-kernel

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

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

only message in thread, other threads:[~2021-09-15  4:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-15  4:45 [jirislaby:devel 47/69] drivers/tty/synclink_gt.c:576:54: error: unknown type name 'XX' 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).