[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMz4kuLdvJBXL83Je8LHx2oCWL8um2dKTo4erkFTDySM1Q91CQ@mail.gmail.com>
Date: Wed, 28 Jun 2017 13:28:21 +0800
From: Baolin Wang <baolin.wang@...aro.org>
To: kbuild test robot <lkp@...el.com>
Cc: kbuild-all@...org, Felipe Balbi <balbi@...nel.org>,
Greg KH <gregkh@...uxfoundation.org>,
Sebastian Reichel <sre@...nel.org>, Jun Li <jun.li@....com>,
Peter Chen <peter.chen@...escale.com>,
Mark Brown <broonie@...nel.org>,
John Stultz <john.stultz@...aro.org>,
NeilBrown <neilb@...e.com>, patches@...nsource.wolfsonmicro.com,
Linux PM list <linux-pm@...r.kernel.org>,
USB <linux-usb@...r.kernel.org>,
device-mainlining@...ts.linuxfoundation.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/3] usb: phy: Add USB charger support
Hi,
On 28 June 2017 at 10:44, kbuild test robot <lkp@...el.com> wrote:
> Hi Baolin,
>
> [auto build test ERROR on balbi-usb/next]
> [also build test ERROR on next-20170627]
> [cannot apply to v4.12-rc7]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
>
> url: https://github.com/0day-ci/linux/commits/Baolin-Wang/include-uapi-usb-Introduce-USB-charger-type-and-state-definition/20170628-093530
> base: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next
> config: i386-randconfig-x076-06262345 (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All errors (new ones prefixed by >>):
>
> drivers/power/supply/rt9455_charger.o: In function `usb_phy_set_charger_current':
>>> rt9455_charger.c:(.text+0x1660): multiple definition of `usb_phy_set_charger_current'
> drivers/power/supply/pda_power.o:pda_power.c:(.text+0xad0): first defined here
> drivers/power/supply/rt9455_charger.o: In function `usb_phy_get_charger_current':
>>> rt9455_charger.c:(.text+0x1670): multiple definition of `usb_phy_get_charger_current'
> drivers/power/supply/pda_power.o:pda_power.c:(.text+0xae0): first defined here
> drivers/power/supply/rt9455_charger.o: In function `usb_phy_set_charger_state':
>>> rt9455_charger.c:(.text+0x1680): multiple definition of `usb_phy_set_charger_state'
> drivers/power/supply/pda_power.o:pda_power.c:(.text+0xaf0): first defined here
Sorry for missing "static inline" for these exported functions, will
fix in next version.
--
Baolin.wang
Best Regards
Powered by blists - more mailing lists