[linux-next:master 11126/11648] surface_charger.c:(.text+0x60): multiple definition of `__raw_ssam_bat_get_sta'; drivers/power/supply/surface_battery.o:surface_battery.c:(.text+0x440): first defined here

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   e99d8a8495175df8cb8b739f8cf9b0fc9d0cd3b5
commit: e61ffb344591fca443be4fc633290cbf15ee3298 [11126/11648] power: supply: Add AC driver for Surface Aggregator Module
config: arm64-allyesconfig (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=e61ffb344591fca443be4fc633290cbf15ee3298
        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 e61ffb344591fca443be4fc633290cbf15ee3298
        # 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@xxxxxxxxx>

Note: the linux-next/master HEAD e99d8a8495175df8cb8b739f8cf9b0fc9d0cd3b5 builds fine.
      It may have been fixed somewhere.

All errors (new ones prefixed by >>):

   aarch64-linux-ld: drivers/power/supply/surface_charger.o: in function `__raw_ssam_bat_get_sta':
>> surface_charger.c:(.text+0x60): multiple definition of `__raw_ssam_bat_get_sta'; drivers/power/supply/surface_battery.o:surface_battery.c:(.text+0x440): first defined here
   aarch64-linux-ld: drivers/power/supply/surface_charger.o: in function `ssam_bat_get_sta':
>> surface_charger.c:(.text+0x660): multiple definition of `ssam_bat_get_sta'; drivers/power/supply/surface_battery.o:surface_battery.c:(.text+0x740): first defined here

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux