From: Maximilian Luz <luzmaximilian@gmail.com>
To: kernel test robot <lkp@intel.com>,
Sebastian Reichel <sebastian.reichel@collabora.com>
Cc: kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>
Subject: 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
Date: Sat, 10 Apr 2021 13:01:08 +0200 [thread overview]
Message-ID: <94a5f158-a410-877a-9859-cce764167114@gmail.com> (raw)
In-Reply-To: <202104101820.oMi1ZT7t-lkp@intel.com>
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
prev parent reply other threads:[~2021-04-10 11:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-10 10:13 kernel test robot
2021-04-10 11:01 ` Maximilian Luz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=94a5f158-a410-877a-9859-cce764167114@gmail.com \
--to=luzmaximilian@gmail.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=sebastian.reichel@collabora.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox