In-Reply-To: <YWwWoB3+4HQTD4/t@Mononoke>
References: <YWwWoB3+4HQTD4/t@Mononoke>
TO: Sebastian Luchetti <luchetti.linux(a)gmail.com>
TO: gregkh(a)linuxfoundation.org
CC: linux-staging(a)lists.linux.dev
CC: linux-kernel(a)vger.kernel.org
Hi Sebastian,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on staging/staging-testing]
url:
https://github.com/0day-ci/linux/commits/Sebastian-Luchetti/staging-rts52...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
502408a61f4b7eb4713f44bd77f4a48e6cb1b59a
config: riscv-randconfig-r006-20211017 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
746dd6a700931988dd9021d3d04718f1929885a5)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
#
https://github.com/0day-ci/linux/commit/b242c37ce924b13b53c953fd40aa8d67e...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Sebastian-Luchetti/staging-rts5208-ms-c-Remove-two-udelay-calls-and-use-usleep_range-instead/20211017-202851
git checkout b242c37ce924b13b53c953fd40aa8d67e95ec38b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=riscv
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 >>):
> ld.lld: error: do_mounts.c:(function name_to_dev_t: .text+0x18):
relocation R_RISCV_HI20 out of range: 529548 is not in [-524288, 524287]
ld.lld:
error: do_mounts.c:(function name_to_dev_t: .text+0x30): relocation R_RISCV_HI20 out of
range: 529491 is not in [-524288, 524287]
ld.lld: error: do_mounts.c:(function name_to_dev_t: .text+0x48): relocation
R_RISCV_HI20 out of range: 529701 is not in [-524288, 524287]
ld.lld: error: do_mounts.c:(function name_to_dev_t: .text+0x74): relocation
R_RISCV_HI20 out of range: 529515 is not in [-524288, 524287]
ld.lld: error: do_mounts.c:(function name_to_dev_t: .text+0x9C): relocation
R_RISCV_HI20 out of range: 529661 is not in [-524288, 524287]
ld.lld: error: cpu.c:(function riscv_of_processor_hartid: .text+0x20): relocation
R_RISCV_HI20 out of range: 529661 is not in [-524288, 524287]
ld.lld: error: cpu.c:(function riscv_of_processor_hartid: .text+0x38): relocation
R_RISCV_HI20 out of range: 529653 is not in [-524288, 524287]
ld.lld: error: cpu.c:(function riscv_of_processor_hartid: .text+0x6C): relocation
R_RISCV_HI20 out of range: 529457 is not in [-524288, 524287]
ld.lld: error: cpu.c:(function riscv_of_processor_hartid: .text+0xC4): relocation
R_RISCV_HI20 out of range: 529701 is not in [-524288, 524287]
ld.lld: error: cpu.c:(function riscv_of_processor_hartid: .text+0xDC): relocation
R_RISCV_HI20 out of range: 529474 is not in [-524288, 524287]
ld.lld: error: cpu.c:(function riscv_of_processor_hartid: .text+0xE8): relocation
R_RISCV_HI20 out of range: 529474 is not in [-524288, 524287]
ld.lld: error: cpu.c:(function riscv_of_processor_hartid: .text+0x104): relocation
R_RISCV_HI20 out of range: 529621 is not in [-524288, 524287]
ld.lld: error: cpu.c:(function riscv_of_processor_hartid: .text+0x114): relocation
R_RISCV_HI20 out of range: 529474 is not in [-524288, 524287]
ld.lld: error: cpu.c:(function riscv_of_parent_hartid: .text+0x154): relocation
R_RISCV_HI20 out of range: 529661 is not in [-524288, 524287]
ld.lld: error: cpu.c:(function c_start: .text+0x1CC): relocation R_RISCV_HI20 out of
range: 530232 is not in [-524288, 524287]; references __cpu_online_mask
>> defined in kernel/built-in.a(cpu.o)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org