All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 5160/11253] regulators-tegra30.c:undefined reference to `regulator_sync_voltage_rdev'
@ 2021-06-19  1:17 ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-06-19  1:17 UTC (permalink / raw)
  To: Dmitry Osipenko; +Cc: kbuild-all, Linux Memory Management List, Thierry Reding

[-- Attachment #1: Type: text/plain, Size: 1696 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   e71e3a48a7e89fa71fb70bf4602367528864d2ff
commit: 03978d42ed0d69cb5d38dfb0aeb5216d19507c60 [5160/11253] soc/tegra: regulators: Bump voltages on system reboot
config: arm64-randconfig-r023-20210618 (attached as .config)
compiler: aarch64-linux-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
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=03978d42ed0d69cb5d38dfb0aeb5216d19507c60
        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 03978d42ed0d69cb5d38dfb0aeb5216d19507c60
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   aarch64-linux-ld: Unexpected GOT/PLT entries detected!
   aarch64-linux-ld: Unexpected run-time procedure linkages detected!
   aarch64-linux-ld: drivers/soc/tegra/regulators-tegra30.o: in function `tegra30_regulator_reboot':
>> regulators-tegra30.c:(.text+0x3f8): undefined reference to `regulator_sync_voltage_rdev'
>> aarch64-linux-ld: regulators-tegra30.c:(.text+0x40c): undefined reference to `regulator_sync_voltage_rdev'

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 44177 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [linux-next:master 5160/11253] regulators-tegra30.c:undefined reference to `regulator_sync_voltage_rdev'
@ 2021-06-19  1:17 ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-06-19  1:17 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1727 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   e71e3a48a7e89fa71fb70bf4602367528864d2ff
commit: 03978d42ed0d69cb5d38dfb0aeb5216d19507c60 [5160/11253] soc/tegra: regulators: Bump voltages on system reboot
config: arm64-randconfig-r023-20210618 (attached as .config)
compiler: aarch64-linux-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
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=03978d42ed0d69cb5d38dfb0aeb5216d19507c60
        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 03978d42ed0d69cb5d38dfb0aeb5216d19507c60
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   aarch64-linux-ld: Unexpected GOT/PLT entries detected!
   aarch64-linux-ld: Unexpected run-time procedure linkages detected!
   aarch64-linux-ld: drivers/soc/tegra/regulators-tegra30.o: in function `tegra30_regulator_reboot':
>> regulators-tegra30.c:(.text+0x3f8): undefined reference to `regulator_sync_voltage_rdev'
>> aarch64-linux-ld: regulators-tegra30.c:(.text+0x40c): undefined reference to `regulator_sync_voltage_rdev'

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 44177 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-next:master 5160/11253] regulators-tegra30.c:undefined reference to `regulator_sync_voltage_rdev'
  2021-06-19  1:17 ` kernel test robot
  (?)
@ 2021-06-19 11:20 ` Dmitry Osipenko
  -1 siblings, 0 replies; 3+ messages in thread
From: Dmitry Osipenko @ 2021-06-19 11:20 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2096 bytes --]

19.06.2021 04:17, kernel test robot пишет:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   e71e3a48a7e89fa71fb70bf4602367528864d2ff
> commit: 03978d42ed0d69cb5d38dfb0aeb5216d19507c60 [5160/11253] soc/tegra: regulators: Bump voltages on system reboot
> config: arm64-randconfig-r023-20210618 (attached as .config)
> compiler: aarch64-linux-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
>         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=03978d42ed0d69cb5d38dfb0aeb5216d19507c60
>         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 03978d42ed0d69cb5d38dfb0aeb5216d19507c60
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>    aarch64-linux-ld: Unexpected GOT/PLT entries detected!
>    aarch64-linux-ld: Unexpected run-time procedure linkages detected!
>    aarch64-linux-ld: drivers/soc/tegra/regulators-tegra30.o: in function `tegra30_regulator_reboot':
>>> regulators-tegra30.c:(.text+0x3f8): undefined reference to `regulator_sync_voltage_rdev'
>>> aarch64-linux-ld: regulators-tegra30.c:(.text+0x40c): undefined reference to `regulator_sync_voltage_rdev'

Ah, I forgot that we compile-test the coupler drivers, my bad.

There are two possible solutions here:

1. Add stubs to include/linux/regulator/driver.h
2. Add dependency on CONFIG_REGULATOR for Tegra drivers.

The former solution should be much more universal.
The latter is the simplest.

I'll go with the stubs and prepare patch for that. Let me know if you
have objections.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-19 11:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-19  1:17 [linux-next:master 5160/11253] regulators-tegra30.c:undefined reference to `regulator_sync_voltage_rdev' kernel test robot
2021-06-19  1:17 ` kernel test robot
2021-06-19 11:20 ` Dmitry Osipenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.