From: kernel test robot <lkp@intel.com>
To: Anson Huang <Anson.Huang@nxp.com>,
aisheng.dong@nxp.com, festevam@gmail.com, shawnguo@kernel.org,
stefan@agner.ch, kernel@pengutronix.de, linus.walleij@linaro.org,
s.hauer@pengutronix.de, linux-gpio@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Cc: kbuild-all@lists.01.org
Subject: Re: [PATCH V2 2/9] pinctrl: imx: Support building i.MX pinctrl driver as module
Date: Tue, 9 Jun 2020 04:10:25 +0800 [thread overview]
Message-ID: <202006090417.AuulJvMK%lkp@intel.com> (raw)
In-Reply-To: <1591627056-19022-3-git-send-email-Anson.Huang@nxp.com>
[-- Attachment #1: Type: text/plain, Size: 3476 bytes --]
Hi Anson,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on pinctrl/devel]
[also build test ERROR on v5.7 next-20200608]
[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/Anson-Huang/Support-i-MX8-SoCs-pinctrl-drivers-built-as-module/20200608-225055
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
config: x86_64-randconfig-s032-20200609 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-247-gcadbd124-dirty
# save the attached .config to linux build tree
make W=1 C=1 ARCH=x86_64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
drivers/pinctrl/freescale/pinctrl-imx.c: In function 'imx_pinconf_parse_generic_config':
>> drivers/pinctrl/freescale/pinctrl-imx.c:341:8: error: implicit declaration of function 'pinconf_generic_parse_dt_config'; did you mean 'pinconf_generic_dump_config'? [-Werror=implicit-function-declaration]
341 | ret = pinconf_generic_parse_dt_config(np, pctl, &configs,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| pinconf_generic_dump_config
cc1: some warnings being treated as errors
vim +341 drivers/pinctrl/freescale/pinctrl-imx.c
a5cadbbb081cb84 Dong Aisheng 2017-05-19 328
a5cadbbb081cb84 Dong Aisheng 2017-05-19 329 static u32 imx_pinconf_parse_generic_config(struct device_node *np,
a5cadbbb081cb84 Dong Aisheng 2017-05-19 330 struct imx_pinctrl *ipctl)
a5cadbbb081cb84 Dong Aisheng 2017-05-19 331 {
f5843492ecefcf7 Stefan Agner 2018-01-06 332 const struct imx_pinctrl_soc_info *info = ipctl->info;
a5cadbbb081cb84 Dong Aisheng 2017-05-19 333 struct pinctrl_dev *pctl = ipctl->pctl;
a5cadbbb081cb84 Dong Aisheng 2017-05-19 334 unsigned int num_configs;
a5cadbbb081cb84 Dong Aisheng 2017-05-19 335 unsigned long *configs;
a5cadbbb081cb84 Dong Aisheng 2017-05-19 336 int ret;
a5cadbbb081cb84 Dong Aisheng 2017-05-19 337
a5cadbbb081cb84 Dong Aisheng 2017-05-19 338 if (!info->generic_pinconf)
a5cadbbb081cb84 Dong Aisheng 2017-05-19 339 return 0;
a5cadbbb081cb84 Dong Aisheng 2017-05-19 340
a5cadbbb081cb84 Dong Aisheng 2017-05-19 @341 ret = pinconf_generic_parse_dt_config(np, pctl, &configs,
a5cadbbb081cb84 Dong Aisheng 2017-05-19 342 &num_configs);
a5cadbbb081cb84 Dong Aisheng 2017-05-19 343 if (ret)
a5cadbbb081cb84 Dong Aisheng 2017-05-19 344 return 0;
a5cadbbb081cb84 Dong Aisheng 2017-05-19 345
a5cadbbb081cb84 Dong Aisheng 2017-05-19 346 return imx_pinconf_decode_generic_config(ipctl, configs, num_configs);
a5cadbbb081cb84 Dong Aisheng 2017-05-19 347 }
a5cadbbb081cb84 Dong Aisheng 2017-05-19 348
:::::: The code at line 341 was first introduced by commit
:::::: a5cadbbb081cb84a9fdb14391fb461a41f089a0a pinctrl: imx: add generic pin config core support
:::::: TO: Dong Aisheng <aisheng.dong@nxp.com>
:::::: CC: Linus Walleij <linus.walleij@linaro.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 37232 bytes --]
next prev parent reply other threads:[~2020-06-09 0:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-08 14:37 [PATCH V2 0/9] Support i.MX8 SoCs pinctrl drivers built " Anson Huang
2020-06-08 14:37 ` [PATCH V2 1/9] pinctrl: imx: Support building SCU pinctrl driver " Anson Huang
2020-06-08 14:37 ` [PATCH V2 2/9] pinctrl: imx: Support building i.MX " Anson Huang
2020-06-08 20:10 ` kernel test robot [this message]
2020-06-08 14:37 ` [PATCH V2 3/9] pinctrl: imx8mm: Support building " Anson Huang
2020-06-08 14:37 ` [PATCH V2 4/9] pinctrl: imx8mn: " Anson Huang
2020-06-08 14:37 ` [PATCH V2 5/9] pinctrl: imx8mq: " Anson Huang
2020-06-08 14:37 ` [PATCH V2 6/9] pinctrl: imx8mp: " Anson Huang
2020-06-08 14:37 ` [PATCH V2 7/9] pinctrl: imx8qxp: " Anson Huang
2020-06-08 14:37 ` [PATCH V2 8/9] pinctrl: imx8qm: " Anson Huang
2020-06-08 14:37 ` [PATCH V2 9/9] pinctrl: imx8dxl: " Anson Huang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202006090417.AuulJvMK%lkp@intel.com \
--to=lkp@intel.com \
--cc=Anson.Huang@nxp.com \
--cc=aisheng.dong@nxp.com \
--cc=festevam@gmail.com \
--cc=kbuild-all@lists.01.org \
--cc=kernel@pengutronix.de \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=stefan@agner.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®