lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202109151248.sb9B8zl2-lkp@intel.com>
Date:   Wed, 15 Sep 2021 12:45:55 +0800
From:   kernel test robot <lkp@...el.com>
To:     Jiri Slaby <jslaby@...e.cz>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [jirislaby:devel 47/69] drivers/tty/synclink_gt.c:576:54: error:
 unknown type name 'XX'

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@...el.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

Download attachment ".config.gz" of type "application/gzip" (69237 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ