tree:
https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git
arm-kill-set_fs-4
head: 134f7ea9688d79375ef1358d83bbafb8097ca965
commit: 53c9506dd6897ae3076e20a792d153a227aef280 [19/37] ethtool: improve compat ioctl
handling
config: arm-randconfig-r035-20200917 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.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
git checkout 53c9506dd6897ae3076e20a792d153a227aef280
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
net/ethtool/ioctl.c: In function 'ethtool_translate_compat':
> net/ethtool/ioctl.c:817:9: error: implicit declaration of
function 'in_oabi_syscall'; did you mean 'in_compat_syscall'?
[-Werror=implicit-function-declaration]
817 | return in_oabi_syscall();
| ^~~~~~~~~~~~~~~
| in_compat_syscall
cc1: some warnings being treated as errors
#
https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/commi...
git remote add arnd-playground
https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git
git fetch --no-tags arnd-playground arm-kill-set_fs-4
git checkout 53c9506dd6897ae3076e20a792d153a227aef280
vim +817 net/ethtool/ioctl.c
809
810 static inline bool ethtool_translate_compat(void)
811 {
812 #ifdef CONFIG_X86_64
813 /* On x86, translation is needed for i386 but not x32 */
814 return in_ia32_syscall();
815 #elif defined(CONFIG_ARM)
816 /* On 32-bit Arm, translation is needed for OABI only */
817 return in_oabi_syscall();
818 #else
819 BUILD_BUG_ON(sizeof(struct compat_ethtool_rxnfc) !=
820 sizeof(struct ethtool_rxnfc));
821 #endif
822
823 return 0;
824 }
825
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org