* [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
@ 2021-04-10 10:13 kernel test robot
2021-04-10 11:01 ` Maximilian Luz
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-04-10 10:13 UTC (permalink / raw)
To: Maximilian Luz
Cc: kbuild-all, Linux Memory Management List, Sebastian Reichel
[-- Attachment #1: Type: text/plain, Size: 1924 bytes --]
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@intel.com>
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@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 76989 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [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
2021-04-10 10:13 [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 kernel test robot
@ 2021-04-10 11:01 ` Maximilian Luz
0 siblings, 0 replies; 2+ messages in thread
From: Maximilian Luz @ 2021-04-10 11:01 UTC (permalink / raw)
To: kernel test robot, Sebastian Reichel
Cc: kbuild-all, Linux Memory Management List
On 4/10/21 12:13 PM, kernel test robot wrote:
> 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@intel.com>
>
> 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
This should be fixed by patch
platform/surface: aggregator: Make SSAM_DEFINE_SYNC_REQUEST_x define static functions
which is queued as commit 03ee31839170 ("platform/surface: aggregator:
Make SSAM_DEFINE_SYNC_REQUEST_x define static functions") in the
for-next branch of the platform-drivers-x86 tree.
Patchwork: https://lore.kernel.org/patchwork/patch/1389859/
PDx86 commit: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/commit/?h=for-next&id=03ee318391707e822eb915f4f30fe42c78b9d89b
Regards,
Max
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-10 11:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-10 10:13 [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 kernel test robot
2021-04-10 11:01 ` Maximilian Luz
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).