linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pl353-smc.c:undefined reference to `amba_driver_register'
@ 2020-11-14 22:17 kernel test robot
  2020-11-15 10:24 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-11-14 22:17 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: kbuild-all, linux-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f01c30de86f1047e9bae1b1b1417b0ce8dcd15b1
commit: ea0c0ad6b6eb36726088991d97a55b99cae456d0 memory: Enable compile testing for most of the drivers
date:   3 months ago
config: arm-randconfig-p002-20201115 (attached as .config)
compiler: arm-linux-gnueabi-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/torvalds/linux.git/commit/?id=ea0c0ad6b6eb36726088991d97a55b99cae456d0
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout ea0c0ad6b6eb36726088991d97a55b99cae456d0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

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 >>):

   arm-linux-gnueabi-ld: drivers/memory/pl353-smc.o: in function `pl353_smc_driver_init':
>> pl353-smc.c:(.init.text+0x10): undefined reference to `amba_driver_register'
   arm-linux-gnueabi-ld: drivers/memory/pl353-smc.o: in function `pl353_smc_driver_exit':
>> pl353-smc.c:(.exit.text+0x10): undefined reference to `amba_driver_unregister'

---
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: 33257 bytes --]

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

* Re: pl353-smc.c:undefined reference to `amba_driver_register'
  2020-11-14 22:17 pl353-smc.c:undefined reference to `amba_driver_register' kernel test robot
@ 2020-11-15 10:24 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-15 10:24 UTC (permalink / raw)
  To: kernel test robot; +Cc: kbuild-all, linux-kernel

On Sun, Nov 15, 2020 at 06:17:53AM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   f01c30de86f1047e9bae1b1b1417b0ce8dcd15b1
> commit: ea0c0ad6b6eb36726088991d97a55b99cae456d0 memory: Enable compile testing for most of the drivers
> date:   3 months ago
> config: arm-randconfig-p002-20201115 (attached as .config)
> compiler: arm-linux-gnueabi-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/torvalds/linux.git/commit/?id=ea0c0ad6b6eb36726088991d97a55b99cae456d0
>         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>         git fetch --no-tags linus master
>         git checkout ea0c0ad6b6eb36726088991d97a55b99cae456d0
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 
> 
> 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 >>):
> 
>    arm-linux-gnueabi-ld: drivers/memory/pl353-smc.o: in function `pl353_smc_driver_init':
> >> pl353-smc.c:(.init.text+0x10): undefined reference to `amba_driver_register'
>    arm-linux-gnueabi-ld: drivers/memory/pl353-smc.o: in function `pl353_smc_driver_exit':
> >> pl353-smc.c:(.exit.text+0x10): undefined reference to `amba_driver_unregister'

Fix is ready:
https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl.git/commit/?h=fixes&id=275374b46da2baea437a2e9456e52a04c2049780

Best regards,
Krzysztof


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

end of thread, other threads:[~2020-11-15 10:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-14 22:17 pl353-smc.c:undefined reference to `amba_driver_register' kernel test robot
2020-11-15 10:24 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).