From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D1D03C3F2CD for ; Tue, 3 Mar 2020 06:43:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A857E214D8 for ; Tue, 3 Mar 2020 06:43:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725554AbgCCGnI (ORCPT ); Tue, 3 Mar 2020 01:43:08 -0500 Received: from mga06.intel.com ([134.134.136.31]:63080 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725440AbgCCGnI (ORCPT ); Tue, 3 Mar 2020 01:43:08 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Mar 2020 22:43:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,510,1574150400"; d="scan'208";a="233516366" Received: from shao2-debian.sh.intel.com (HELO [10.239.13.3]) ([10.239.13.3]) by orsmga008.jf.intel.com with ESMTP; 02 Mar 2020 22:43:05 -0800 Subject: Re: [PATCH 2/2] pinctrl: sprd: Allow the SPRD pinctrl driver building into a module To: Baolin Wang , kbuild test robot Cc: kbuild-all@lists.01.org, Linus Walleij , Orson Zhai , Chunyan Zhang , linux-gpio@vger.kernel.org, LKML References: <202002290858.UhNBgssD%lkp@intel.com> From: Rong Chen Message-ID: <89d9811d-9c6d-6e53-4da7-60026c1b0ced@intel.com> Date: Tue, 3 Mar 2020 14:42:55 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On 3/2/20 10:33 AM, Baolin Wang wrote: > Hi > > On Sat, Feb 29, 2020 at 8:41 AM kbuild test robot wrote: >> Hi Baolin, >> >> I love your patch! Yet something to improve: >> >> [auto build test ERROR on pinctrl/devel] >> [also build test ERROR on v5.6-rc3 next-20200228] >> [if your patch is applied to the wrong git tree, please drop us a note to help >> improve the system. BTW, we also suggest to use '--base' option to specify the >> base tree in git format-patch, please see https://stackoverflow.com/a/37406982] >> >> url: https://github.com/0day-ci/linux/commits/Baolin-Wang/pinctrl-Export-some-needed-symbols-at-module-load-time/20200227-121948 >> base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel >> config: i386-randconfig-d003-20200229 (attached as .config) >> compiler: gcc-7 (Debian 7.5.0-5) 7.5.0 >> reproduce: >> # save the attached .config to linux build tree >> make ARCH=i386 >> >> If you fix the issue, kindly add following tag >> Reported-by: kbuild test robot >> >> All errors (new ones prefixed by >>): >> >> drivers/pinctrl/sprd/pinctrl-sprd.c: In function 'sprd_dt_node_to_map': >>>> drivers/pinctrl/sprd/pinctrl-sprd.c:282:8: error: implicit declaration of function 'pinconf_generic_parse_dt_config'; did you mean 'pinconf_generic_dump_config'? [-Werror=implicit-function-declaration] >> ret = pinconf_generic_parse_dt_config(np, pctldev, &configs, >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> pinconf_generic_dump_config >> cc1: some warnings being treated as errors > I followed your attached configuration, but I can not reproduce your > building error. Did I miss anything else? Thanks. > > CONFIG_PINCTRL=y > CONFIG_PINMUX=y > CONFIG_GENERIC_PINMUX_FUNCTIONS=y > CONFIG_PINCONF=y > CONFIG_GENERIC_PINCONF=y > CONFIG_PINCTRL_SPRD=y > CONFIG_PINCTRL_SPRD_SC9860=y > Hi Baolin, We can reproduce this error with attached config and our branch "https://github.com/0day-ci/linux/commits/Baolin-Wang/pinctrl-Export-some-needed-symbols-at-module-load-time/20200227-121948", could you try again? Best Regards, Rong Chen From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============5970788474231946157==" MIME-Version: 1.0 From: Rong Chen To: kbuild-all@lists.01.org Subject: Re: [PATCH 2/2] pinctrl: sprd: Allow the SPRD pinctrl driver building into a module Date: Tue, 03 Mar 2020 14:42:55 +0800 Message-ID: <89d9811d-9c6d-6e53-4da7-60026c1b0ced@intel.com> In-Reply-To: List-Id: --===============5970788474231946157== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 3/2/20 10:33 AM, Baolin Wang wrote: > Hi > > On Sat, Feb 29, 2020 at 8:41 AM kbuild test robot wrote: >> Hi Baolin, >> >> I love your patch! Yet something to improve: >> >> [auto build test ERROR on pinctrl/devel] >> [also build test ERROR on v5.6-rc3 next-20200228] >> [if your patch is applied to the wrong git tree, please drop us a note t= o help >> improve the system. BTW, we also suggest to use '--base' option to speci= fy the >> base tree in git format-patch, please see https://stackoverflow.com/a/37= 406982] >> >> url: https://github.com/0day-ci/linux/commits/Baolin-Wang/pinctrl-Exp= ort-some-needed-symbols-at-module-load-time/20200227-121948 >> base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pin= ctrl.git devel >> config: i386-randconfig-d003-20200229 (attached as .config) >> compiler: gcc-7 (Debian 7.5.0-5) 7.5.0 >> reproduce: >> # save the attached .config to linux build tree >> make ARCH=3Di386 >> >> If you fix the issue, kindly add following tag >> Reported-by: kbuild test robot >> >> All errors (new ones prefixed by >>): >> >> drivers/pinctrl/sprd/pinctrl-sprd.c: In function 'sprd_dt_node_to_ma= p': >>>> drivers/pinctrl/sprd/pinctrl-sprd.c:282:8: error: implicit declaration= of function 'pinconf_generic_parse_dt_config'; did you mean 'pinconf_gener= ic_dump_config'? [-Werror=3Dimplicit-function-declaration] >> ret =3D pinconf_generic_parse_dt_config(np, pctldev, &configs, >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> pinconf_generic_dump_config >> cc1: some warnings being treated as errors > I followed your attached configuration, but I can not reproduce your > building error. Did I miss anything else? Thanks. > > CONFIG_PINCTRL=3Dy > CONFIG_PINMUX=3Dy > CONFIG_GENERIC_PINMUX_FUNCTIONS=3Dy > CONFIG_PINCONF=3Dy > CONFIG_GENERIC_PINCONF=3Dy > CONFIG_PINCTRL_SPRD=3Dy > CONFIG_PINCTRL_SPRD_SC9860=3Dy > Hi Baolin, We can reproduce this error with attached config and our branch = "https://github.com/0day-ci/linux/commits/Baolin-Wang/pinctrl-Export-some-n= eeded-symbols-at-module-load-time/20200227-121948", could you try again? Best Regards, Rong Chen --===============5970788474231946157==--