Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752786AbdDDHmt (ORCPT ); Tue, 4 Apr 2017 03:42:49 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:19962 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751094AbdDDHms (ORCPT ); Tue, 4 Apr 2017 03:42:48 -0400 Subject: Re: [PATCH v3 3/3] usb: dwc3: Add dual-role support To: kbuild test robot , References: <201704040351.T4CA8MVF%fengguang.wu@intel.com> CC: , , , From: Roger Quadros Message-ID: Date: Tue, 4 Apr 2017 10:42:38 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <201704040351.T4CA8MVF%fengguang.wu@intel.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2229 Lines: 61 Felipe, I'll send a revised patch to fix this. cheers, -roger On 03/04/17 22:21, kbuild test robot wrote: > Hi Roger, > > [auto build test ERROR on balbi-usb/next] > [also build test ERROR on v4.11-rc5 next-20170403] > [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/Roger-Quadros/usb-dwc3-dual-role-support/20170404-022401 > base: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next > config: i386-randconfig-x010-201714 (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 error/warnings (new ones prefixed by >>): > > In file included from drivers/usb/dwc3/core.c:44:0: >>> drivers/usb/dwc3/core.h:1243:1: error: expected identifier or '(' before '{' token > { } > ^ >>> drivers/usb/dwc3/core.h:1242:13: warning: 'dwc3_drd_exit' used but never defined > static void dwc3_drd_exit(struct dwc3 *dwc); > ^~~~~~~~~~~~~ > -- > In file included from drivers/usb/dwc3/trace.h:27:0, > from drivers/usb/dwc3/trace.c:19: >>> drivers/usb/dwc3/core.h:1243:1: error: expected identifier or '(' before '{' token > { } > ^ > In file included from drivers/usb/dwc3/trace.h:27:0, > from drivers/usb/dwc3/trace.c:19: > drivers/usb/dwc3/core.h:1242:13: warning: 'dwc3_drd_exit' declared 'static' but never defined [-Wunused-function] > static void dwc3_drd_exit(struct dwc3 *dwc); > ^~~~~~~~~~~~~ > > vim +1243 drivers/usb/dwc3/core.h > > 1236 #if IS_ENABLED(CONFIG_USB_DWC3_DUAL_ROLE) > 1237 int dwc3_drd_init(struct dwc3 *dwc); > 1238 void dwc3_drd_exit(struct dwc3 *dwc); > 1239 #else > 1240 static inline int dwc3_drd_init(struct dwc3 *dwc) > 1241 { return 0; } >> 1242 static void dwc3_drd_exit(struct dwc3 *dwc); >> 1243 { } > 1244 #endif > 1245 > 1246 /* power management interface */ > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation >