Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751513AbdF1F2a (ORCPT ); Wed, 28 Jun 2017 01:28:30 -0400 Received: from mail-oi0-f53.google.com ([209.85.218.53]:35830 "EHLO mail-oi0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751010AbdF1F2X (ORCPT ); Wed, 28 Jun 2017 01:28:23 -0400 MIME-Version: 1.0 In-Reply-To: <201706281044.sD7wiJXZ%fengguang.wu@intel.com> References: <201706281044.sD7wiJXZ%fengguang.wu@intel.com> From: Baolin Wang Date: Wed, 28 Jun 2017 13:28:21 +0800 Message-ID: Subject: Re: [PATCH 2/3] usb: phy: Add USB charger support To: kbuild test robot Cc: kbuild-all@01.org, Felipe Balbi , Greg KH , Sebastian Reichel , Jun Li , Peter Chen , Mark Brown , John Stultz , NeilBrown , patches@opensource.wolfsonmicro.com, Linux PM list , USB , device-mainlining@lists.linuxfoundation.org, LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1680 Lines: 36 Hi, On 28 June 2017 at 10:44, kbuild test robot 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