All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: kbuild-all@lists.01.org, linux-arch@vger.kernel.org,
	Christoph Hellwig <hch@lst.de>
Subject: [asm-generic:compat-alloc-user-space-9 6/41] net/ethtool/ioctl.c:815:9: error: implicit declaration of function 'in_ia32_syscall'; did you mean 'in_compat_syscall'?
Date: Thu, 20 May 2021 04:08:59 +0800	[thread overview]
Message-ID: <202105200456.B8lcITGX-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git compat-alloc-user-space-9
head:   c20b182ddc8032c63c381bf868f99222bab89537
commit: 5cbe995d81d1ea310babe2c123bf1a40dff25e46 [6/41] ethtool: improve compat ioctl handling
config: um-allmodconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git/commit/?id=5cbe995d81d1ea310babe2c123bf1a40dff25e46
        git remote add asm-generic https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git
        git fetch --no-tags asm-generic compat-alloc-user-space-9
        git checkout 5cbe995d81d1ea310babe2c123bf1a40dff25e46
        # save the attached .config to linux build tree
        make W=1 ARCH=um 

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 >>):

   net/ethtool/ioctl.c: In function 'ethtool_translate_compat':
>> net/ethtool/ioctl.c:815:9: error: implicit declaration of function 'in_ia32_syscall'; did you mean 'in_compat_syscall'? [-Werror=implicit-function-declaration]
     815 |  return in_ia32_syscall();
         |         ^~~~~~~~~~~~~~~
         |         in_compat_syscall
   cc1: some warnings being treated as errors


vim +815 net/ethtool/ioctl.c

   810	
   811	static bool ethtool_translate_compat(void)
   812	{
   813	#ifdef CONFIG_X86_64
   814		/* On x86, translation is needed for i386 but not x32 */
 > 815		return in_ia32_syscall();
   816	#else
   817		BUILD_BUG_ON(sizeof(struct compat_ethtool_rxnfc) !=
   818			     sizeof(struct ethtool_rxnfc));
   819	#endif
   820		return false;
   821	}
   822	

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [asm-generic:compat-alloc-user-space-9 6/41] net/ethtool/ioctl.c:815:9: error: implicit declaration of function 'in_ia32_syscall'; did you mean 'in_compat_syscall'?
Date: Thu, 20 May 2021 04:08:59 +0800	[thread overview]
Message-ID: <202105200456.B8lcITGX-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git compat-alloc-user-space-9
head:   c20b182ddc8032c63c381bf868f99222bab89537
commit: 5cbe995d81d1ea310babe2c123bf1a40dff25e46 [6/41] ethtool: improve compat ioctl handling
config: um-allmodconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git/commit/?id=5cbe995d81d1ea310babe2c123bf1a40dff25e46
        git remote add asm-generic https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git
        git fetch --no-tags asm-generic compat-alloc-user-space-9
        git checkout 5cbe995d81d1ea310babe2c123bf1a40dff25e46
        # save the attached .config to linux build tree
        make W=1 ARCH=um 

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 >>):

   net/ethtool/ioctl.c: In function 'ethtool_translate_compat':
>> net/ethtool/ioctl.c:815:9: error: implicit declaration of function 'in_ia32_syscall'; did you mean 'in_compat_syscall'? [-Werror=implicit-function-declaration]
     815 |  return in_ia32_syscall();
         |         ^~~~~~~~~~~~~~~
         |         in_compat_syscall
   cc1: some warnings being treated as errors


vim +815 net/ethtool/ioctl.c

   810	
   811	static bool ethtool_translate_compat(void)
   812	{
   813	#ifdef CONFIG_X86_64
   814		/* On x86, translation is needed for i386 but not x32 */
 > 815		return in_ia32_syscall();
   816	#else
   817		BUILD_BUG_ON(sizeof(struct compat_ethtool_rxnfc) !=
   818			     sizeof(struct ethtool_rxnfc));
   819	#endif
   820		return false;
   821	}
   822	

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

             reply	other threads:[~2021-05-19 20:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-19 20:08 kernel test robot [this message]
2021-05-19 20:08 ` [asm-generic:compat-alloc-user-space-9 6/41] net/ethtool/ioctl.c:815:9: error: implicit declaration of function 'in_ia32_syscall'; did you mean 'in_compat_syscall'? kernel test robot
2021-05-19 20:33 ` Arnd Bergmann
2021-05-19 20:33   ` Arnd Bergmann
2021-05-19 20:39   ` Arnd Bergmann
2021-05-19 20:39     ` Arnd Bergmann
2021-05-20  5:19   ` Christoph Hellwig
2021-05-20  5:19     ` Christoph Hellwig
2021-05-20  7:30     ` Arnd Bergmann
2021-05-20  7:30       ` Arnd Bergmann

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=202105200456.B8lcITGX-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=arnd@arndb.de \
    --cc=hch@lst.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arch@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 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.