[axboe-block:perf-wip 9/12] shmem.c:undefined reference to `__bdev_set_nr_sectors'

From: kernel test robot
Date: Thu Oct 07 2021 - 17:07:11 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git perf-wip
head: 48af6d89a68709a5dd178822e2b9dc3eb5a82030
commit: a0ca4e8b8ea4cd47e2a81a7b96cc6211ef83ef40 [9/12] block: cache inode size in bdev
config: arc-randconfig-r043-20211007 (attached as .config)
compiler: arc-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/axboe/linux-block.git/commit/?id=a0ca4e8b8ea4cd47e2a81a7b96cc6211ef83ef40
git remote add axboe-block https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
git fetch --no-tags axboe-block perf-wip
git checkout a0ca4e8b8ea4cd47e2a81a7b96cc6211ef83ef40
# 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@xxxxxxxxx>

All errors (new ones prefixed by >>):

arc-elf-ld: mm/shmem.o: in function `shmem_write_end':
>> shmem.c:(.text+0x3814): undefined reference to `__bdev_set_nr_sectors'
>> arc-elf-ld: shmem.c:(.text+0x3814): undefined reference to `__bdev_set_nr_sectors'
arc-elf-ld: mm/shmem.o: in function `shmem_fallocate':
shmem.c:(.text+0x4824): undefined reference to `__bdev_set_nr_sectors'
arc-elf-ld: shmem.c:(.text+0x4824): undefined reference to `__bdev_set_nr_sectors'
arc-elf-ld: mm/shmem.o: in function `shmem_setattr':
shmem.c:(.text+0x4aae): undefined reference to `__bdev_set_nr_sectors'
arc-elf-ld: mm/shmem.o:shmem.c:(.text+0x4aae): more undefined references to `__bdev_set_nr_sectors' follow

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip