tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: c83540783e906ba43421bfcfd22d678fef4178d5 commit: d3900e8d918f8fbd1366b9c2998e2830e66a0081 [13478/15288] csky: uaccess.h: Coding convention with asm generic config: csky-randconfig-s032-20210427 (attached as .config) compiler: csky-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.3-341-g8af24329-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=d3900e8d918f8fbd1366b9c2998e2830e66a0081 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout d3900e8d918f8fbd1366b9c2998e2830e66a0081 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=csky If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): csky-linux-ld: drivers/tty/vt/keyboard.o: in function `$t': >> keyboard.c:(.text+0x2314): undefined reference to `__put_user_bad' csky-linux-ld: drivers/tty/vt/keyboard.o: in function `$d': keyboard.c:(.text+0x2318): undefined reference to `__put_user_bad' csky-linux-ld: drivers/tty/vt/vt.o: in function `$t': >> vt.c:(.text+0x1e2e): undefined reference to `__get_user_bad' csky-linux-ld: drivers/tty/vt/vt.o: in function `$d': vt.c:(.text+0x2028): undefined reference to `__get_user_bad' csky-linux-ld: drivers/watchdog/watchdog_dev.o: in function `$t': >> watchdog_dev.c:(.text+0x560): undefined reference to `__get_user_bad' csky-linux-ld: drivers/watchdog/watchdog_dev.o: in function `$d': watchdog_dev.c:(.text+0x72c): undefined reference to `__get_user_bad' csky-linux-ld: kernel/bpf/syscall.o: in function `$t': syscall.c:(.text+0xdc2): undefined reference to `__put_user_bad' csky-linux-ld: kernel/bpf/syscall.o: in function `$d': syscall.c:(.text+0xf48): undefined reference to `__put_user_bad' csky-linux-ld: fs/ioctl.o: in function `__get_user_fn': >> ioctl.c:(.text+0x112): undefined reference to `__get_user_bad' >> csky-linux-ld: ioctl.c:(.text+0x154): undefined reference to `__get_user_bad' csky-linux-ld: fs/readdir.o: in function `$t': readdir.c:(.text+0x3ba): undefined reference to `__put_user_bad' csky-linux-ld: fs/readdir.o: in function `$d': readdir.c:(.text+0x3c4): undefined reference to `__put_user_bad' csky-linux-ld: lib/iov_iter.o: in function `$t': >> iov_iter.c:(.text+0x582): undefined reference to `__get_user_bad' csky-linux-ld: lib/iov_iter.o: in function `$d': iov_iter.c:(.text+0x704): undefined reference to `__get_user_bad' csky-linux-ld: drivers/pci/syscall.o: in function `$t': syscall.c:(.text+0x1c6): undefined reference to `__put_user_bad' csky-linux-ld: drivers/pci/syscall.o: in function `$d': syscall.c:(.text+0x1cc): undefined reference to `__put_user_bad' csky-linux-ld: drivers/tty/tty_ioctl.o: in function `$t': >> tty_ioctl.c:(.text+0x3ee): undefined reference to `__put_user_bad' csky-linux-ld: drivers/tty/tty_ioctl.o: in function `$d': tty_ioctl.c:(.text+0x3f4): undefined reference to `__put_user_bad' csky-linux-ld: drivers/tty/tty_ioctl.o: in function `$t': >> tty_ioctl.c:(.text+0x876): undefined reference to `__get_user_bad' csky-linux-ld: drivers/tty/tty_ioctl.o: in function `$d': tty_ioctl.c:(.text+0xa14): undefined reference to `__get_user_bad' csky-linux-ld: drivers/tty/vt/vt_ioctl.o: in function `$t': >> vt_ioctl.c:(.text+0x554): undefined reference to `__put_user_bad' csky-linux-ld: drivers/tty/vt/vt_ioctl.o: in function `$d': vt_ioctl.c:(.text+0x644): undefined reference to `__put_user_bad' Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for LOCKDEP Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86) Selected by - PROVE_LOCKING && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT - LOCK_STAT && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT - DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip