Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3088684ybf; Mon, 2 Mar 2020 22:49:34 -0800 (PST) X-Google-Smtp-Source: ADFU+vuIfq2F2zaOCH3f8iFWKyIbmBgfW2iL/xbA/Z0HPvUgYcEQ6nONTCspQpa3J2xp7NMI7NvH X-Received: by 2002:a05:6830:60b:: with SMTP id w11mr2345538oti.350.1583218174262; Mon, 02 Mar 2020 22:49:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583218174; cv=none; d=google.com; s=arc-20160816; b=N14LE0xnhaxiMKtAJmrFtO0JHQyiKcOf7eF5Fb7mU35MJu44tHA1IkNdXTJ3OHji80 iUETv39c2KHypNmucSjMsTNF6lwUMPpAy+yvMppMDECQOs3lwgwWZC1MjVW4mUV/rZFX iSqWp8gwcV82WN+X/lxiKsyrTNewD6oKOX8Sw0l+eYPSe/jF9OlZkIb4QIgF2Nas44vx NVNOSbYDY5vGB9o8Ys2XpI4OFJWhqwaYBMZQ1N/B9Vn3AdSvSPv7dHMW11aW3usQeCx/ qxOoa3inN/HzgeLkUln3p2LI+KRfp4+pCXQH00A0TO4CYqtb8+ROD06HbjfPjzJ9p1H3 9/jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=LQ7+Ef/3tVnwWmKN5BTMdijO3IVFIc6ME1MwlKqUcZU=; b=wRiRtwB+9pLxlVKoMA3fHWnhC7ChqnRIHS8bBnDq7ySB0oP6SspmjQV4+Cwgx/5JrU 95l6/RUiCAP7Bab7V+CbJy/7DNg2OpQYPrHZShOavi9UJfAhSg0LaVU3rvCp8rFj4p/X iur86TfoBxHbjLfnrtDuTvDabaS1Mvpw9zgFNhaLzoLvmVAS7D6U3iWB5GwZDw8dXx4c j1SonLXYoIWxbFRJxsuinrvpFfTyk0p5D/HCdKUiGUji+7Uz5nDV9Gc7QO/D83byYhOP q5Emc+cP1UdB18v2Zo8wBVSFGT8J30IPWcPluaFNl/gALGQ8PHLNIFWLrA3WcviMkw7k gVCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=L38YK67b; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a11si113514oib.154.2020.03.02.22.49.20; Mon, 02 Mar 2020 22:49:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=L38YK67b; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727426AbgCCGtL (ORCPT + 99 others); Tue, 3 Mar 2020 01:49:11 -0500 Received: from mail-qt1-f194.google.com ([209.85.160.194]:43521 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725807AbgCCGtL (ORCPT ); Tue, 3 Mar 2020 01:49:11 -0500 Received: by mail-qt1-f194.google.com with SMTP id v22so2013827qtp.10; Mon, 02 Mar 2020 22:49:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LQ7+Ef/3tVnwWmKN5BTMdijO3IVFIc6ME1MwlKqUcZU=; b=L38YK67bV0n3eydzwXR5khhw+tDh2beuqoeaMGhMYIOfYvnYJ97k7oHDPvEg4AUfts C958CfObeXA65i+SX6PAsgsHLSF67UNUAkpJUL9dHVe14CNKx2mCk/Kvr8w1LneAhpX0 ZuEEZGnxyK0LLulkVzQaHEUBD/jf42ixwCaR3dyB4ytufkN+vjXmfPxdSxRuLv6/rJT+ 7Q7tfHRvg9eWW8lI/lhWr905QqrGmPw0aWW2xwSa2uFaINdhikWK0DyA+Sp0ZCuT8OQ3 ZD1WxSRWmeKRetxj8aSSKNiTLPIhijzu9j3SlRqTi5eRI/2waj7tM5bhHK4kETaEG9w2 1vZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LQ7+Ef/3tVnwWmKN5BTMdijO3IVFIc6ME1MwlKqUcZU=; b=Dd56v+jmD4C2qPLDRRiml7o2S5ArLPq4HvMSNFaMBKa3cWFLGVKV72EyjE5Q8CUxmI 3Ka9oIMj05UHidfQj0i59yyE0tGiFfBr8WbUqytwi2r5neBSyynEabW1Pf5nFqKbFpp4 RrEYZ3heWErXsSEAmtM05m1qvSMdcyevH52TdUKfiQXPIPexmpUZBkTI45b0Saxu2ydd fC44SmzpHVnHMaUPGsiTj0tGtsZ3pBzBk7jS+Ii/9vqWL2631P5Yp7ggL98OWSberOST zN6tDQKxVuh0t6ySLDgMyLQUsqR1WgiD9W/oYvWnTrr2wbKaABpuxVxZGs2+ZvCFSZUA ftRg== X-Gm-Message-State: ANhLgQ2ULOxv0pbuHYOgr2tdgpaS4y9BqnvJsVjS4LlRhFEzmLcsrmJW QA/G8SEo5Zl+9f+hWxD+1yr4YDaqkMggftPHo0VzO9j5 X-Received: by 2002:ac8:4408:: with SMTP id j8mr3106825qtn.3.1583218150151; Mon, 02 Mar 2020 22:49:10 -0800 (PST) MIME-Version: 1.0 References: <202002290858.UhNBgssD%lkp@intel.com> <89d9811d-9c6d-6e53-4da7-60026c1b0ced@intel.com> In-Reply-To: <89d9811d-9c6d-6e53-4da7-60026c1b0ced@intel.com> From: Baolin Wang Date: Tue, 3 Mar 2020 14:48:58 +0800 Message-ID: Subject: Re: [PATCH 2/2] pinctrl: sprd: Allow the SPRD pinctrl driver building into a module To: Rong Chen Cc: kbuild test robot , kbuild-all@lists.01.org, Linus Walleij , Orson Zhai , Chunyan Zhang , linux-gpio@vger.kernel.org, LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rong, On Tue, Mar 3, 2020 at 2:43 PM Rong Chen wrote: > > > > 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? I can reproduce the warning on X86 platform now, and I've already sent out a patch to fix it. Thanks https://lkml.org/lkml/2020/3/2/1551 -- Baolin Wang