2021-07-19 22:32:23

by kernel test robot

[permalink] [raw]
Subject: regulators-tegra20.c:undefined reference to `regulator_sync_voltage_rdev'

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2734d6c1b1a089fb593ef6a23d4b70903526fe0c
commit: 03978d42ed0d69cb5d38dfb0aeb5216d19507c60 soc/tegra: regulators: Bump voltages on system reboot
date: 7 weeks ago
config: arm64-randconfig-r001-20210720 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 10.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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=03978d42ed0d69cb5d38dfb0aeb5216d19507c60
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 03978d42ed0d69cb5d38dfb0aeb5216d19507c60
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>

All errors (new ones prefixed by >>):

aarch64-linux-ld: drivers/soc/tegra/regulators-tegra20.o: in function `tegra20_regulator_reboot':
>> regulators-tegra20.c:(.text+0x260): undefined reference to `regulator_sync_voltage_rdev'
regulators-tegra20.c:(.text+0x260): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `regulator_sync_voltage_rdev'
>> aarch64-linux-ld: regulators-tegra20.c:(.text+0x26c): undefined reference to `regulator_sync_voltage_rdev'
regulators-tegra20.c:(.text+0x26c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `regulator_sync_voltage_rdev'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]


Attachments:
(No filename) (1.88 kB)
.config.gz (37.16 kB)
Download all attachments

2021-07-20 00:24:42

by Dmitry Osipenko

[permalink] [raw]
Subject: Re: regulators-tegra20.c:undefined reference to `regulator_sync_voltage_rdev'

20.07.2021 00:45, kernel test robot пишет:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 2734d6c1b1a089fb593ef6a23d4b70903526fe0c
> commit: 03978d42ed0d69cb5d38dfb0aeb5216d19507c60 soc/tegra: regulators: Bump voltages on system reboot
> date: 7 weeks ago
> config: arm64-randconfig-r001-20210720 (attached as .config)
> compiler: aarch64-linux-gcc (GCC) 10.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
> # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=03978d42ed0d69cb5d38dfb0aeb5216d19507c60
> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git fetch --no-tags linus master
> git checkout 03978d42ed0d69cb5d38dfb0aeb5216d19507c60
> # save the attached .config to linux build tree
> mkdir build_dir
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <[email protected]>
>
> All errors (new ones prefixed by >>):
>
> aarch64-linux-ld: drivers/soc/tegra/regulators-tegra20.o: in function `tegra20_regulator_reboot':
>>> regulators-tegra20.c:(.text+0x260): undefined reference to `regulator_sync_voltage_rdev'
> regulators-tegra20.c:(.text+0x260): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `regulator_sync_voltage_rdev'
>>> aarch64-linux-ld: regulators-tegra20.c:(.text+0x26c): undefined reference to `regulator_sync_voltage_rdev'
> regulators-tegra20.c:(.text+0x26c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `regulator_sync_voltage_rdev'
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/[email protected]
>

https://patchwork.ozlabs.org/project/linux-tegra/patch/[email protected]/