linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Jianqun Xu <jay.xu@rock-chips.com>
Cc: kbuild-all@lists.01.org, linus.walleij@linaro.org,
	heiko@sntech.de, david.wu@rock-chips.com,
	kever.yang@rock-chips.com, linux-kernel@vger.kernel.org,
	linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, jay.xu@rock-chips.com
Subject: Re: [PATCH] pinctrl/rockchip: splite soc data to separated driver
Date: Sat, 11 Jan 2020 00:19:02 +0800	[thread overview]
Message-ID: <202001110000.zdUUl6Gm%lkp@intel.com> (raw)
In-Reply-To: <20200109094001.24343-1-jay.xu@rock-chips.com>

[-- Attachment #1: Type: text/plain, Size: 9171 bytes --]

Hi Jianqun,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on rockchip/for-next]
[also build test ERROR on pinctrl/devel linux/master linus/master v5.5-rc5 next-20200109]
[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/Jianqun-Xu/pinctrl-rockchip-splite-soc-data-to-separated-driver/20200110-092528
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>):

>> drivers/pinctrl/rockchip/pinctrl-px30.c:217:1: warning: data definition has no type or storage class
    postcore_initcall(px30_pinctrl_init);
    ^~~~~~~~~~~~~~~~~
>> drivers/pinctrl/rockchip/pinctrl-px30.c:217:1: error: type defaults to 'int' in declaration of 'postcore_initcall' [-Werror=implicit-int]
>> drivers/pinctrl/rockchip/pinctrl-px30.c:217:1: warning: parameter names (without types) in function declaration
   drivers/pinctrl/rockchip/pinctrl-px30.c:213:19: warning: 'px30_pinctrl_init' defined but not used [-Wunused-function]
    static int __init px30_pinctrl_init(void)
                      ^~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
>> drivers/pinctrl/rockchip/pinctrl-rk2928.c:62:1: warning: data definition has no type or storage class
    postcore_initcall(rk2928_pinctrl_init);
    ^~~~~~~~~~~~~~~~~
>> drivers/pinctrl/rockchip/pinctrl-rk2928.c:62:1: error: type defaults to 'int' in declaration of 'postcore_initcall' [-Werror=implicit-int]
>> drivers/pinctrl/rockchip/pinctrl-rk2928.c:62:1: warning: parameter names (without types) in function declaration
   drivers/pinctrl/rockchip/pinctrl-rk2928.c:58:19: warning: 'rk2928_pinctrl_init' defined but not used [-Wunused-function]
    static int __init rk2928_pinctrl_init(void)
                      ^~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
>> drivers/pinctrl/rockchip/pinctrl-rk3036.c:61:1: warning: data definition has no type or storage class
    postcore_initcall(rk3036_pinctrl_init);
    ^~~~~~~~~~~~~~~~~
>> drivers/pinctrl/rockchip/pinctrl-rk3036.c:61:1: error: type defaults to 'int' in declaration of 'postcore_initcall' [-Werror=implicit-int]
>> drivers/pinctrl/rockchip/pinctrl-rk3036.c:61:1: warning: parameter names (without types) in function declaration
   drivers/pinctrl/rockchip/pinctrl-rk3036.c:57:19: warning: 'rk3036_pinctrl_init' defined but not used [-Wunused-function]
    static int __init rk3036_pinctrl_init(void)
                      ^~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
>> drivers/pinctrl/rockchip/pinctrl-rk3066.c:64:1: warning: data definition has no type or storage class
    postcore_initcall(rk3066_pinctrl_init);
    ^~~~~~~~~~~~~~~~~
>> drivers/pinctrl/rockchip/pinctrl-rk3066.c:64:1: error: type defaults to 'int' in declaration of 'postcore_initcall' [-Werror=implicit-int]
>> drivers/pinctrl/rockchip/pinctrl-rk3066.c:64:1: warning: parameter names (without types) in function declaration
   drivers/pinctrl/rockchip/pinctrl-rk3066.c:60:19: warning: 'rk3066_pinctrl_init' defined but not used [-Wunused-function]
    static int __init rk3066_pinctrl_init(void)
                      ^~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
>> drivers/pinctrl/rockchip/pinctrl-rk3066b.c:43:1: warning: data definition has no type or storage class
    postcore_initcall(rk3066b_pinctrl_init);
    ^~~~~~~~~~~~~~~~~
>> drivers/pinctrl/rockchip/pinctrl-rk3066b.c:43:1: error: type defaults to 'int' in declaration of 'postcore_initcall' [-Werror=implicit-int]
>> drivers/pinctrl/rockchip/pinctrl-rk3066b.c:43:1: warning: parameter names (without types) in function declaration
   drivers/pinctrl/rockchip/pinctrl-rk3066b.c:39:19: warning: 'rk3066b_pinctrl_init' defined but not used [-Wunused-function]
    static int __init rk3066b_pinctrl_init(void)
                      ^~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
>> drivers/pinctrl/rockchip/pinctrl-rk3128.c:153:1: warning: data definition has no type or storage class
    postcore_initcall(rk3128_pinctrl_init);
    ^~~~~~~~~~~~~~~~~
>> drivers/pinctrl/rockchip/pinctrl-rk3128.c:153:1: error: type defaults to 'int' in declaration of 'postcore_initcall' [-Werror=implicit-int]
>> drivers/pinctrl/rockchip/pinctrl-rk3128.c:153:1: warning: parameter names (without types) in function declaration
   drivers/pinctrl/rockchip/pinctrl-rk3128.c:149:19: warning: 'rk3128_pinctrl_init' defined but not used [-Wunused-function]
    static int __init rk3128_pinctrl_init(void)
                      ^~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
>> drivers/pinctrl/rockchip/pinctrl-rk3188.c:84:1: warning: data definition has no type or storage class
    postcore_initcall(rk3188_pinctrl_init);
    ^~~~~~~~~~~~~~~~~
>> drivers/pinctrl/rockchip/pinctrl-rk3188.c:84:1: error: type defaults to 'int' in declaration of 'postcore_initcall' [-Werror=implicit-int]
>> drivers/pinctrl/rockchip/pinctrl-rk3188.c:84:1: warning: parameter names (without types) in function declaration
   drivers/pinctrl/rockchip/pinctrl-rk3188.c:80:19: warning: 'rk3188_pinctrl_init' defined but not used [-Wunused-function]
    static int __init rk3188_pinctrl_init(void)
                      ^~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
>> drivers/pinctrl/rockchip/pinctrl-rk3228.c:217:1: warning: data definition has no type or storage class
    postcore_initcall(rk3228_pinctrl_init);
    ^~~~~~~~~~~~~~~~~
>> drivers/pinctrl/rockchip/pinctrl-rk3228.c:217:1: error: type defaults to 'int' in declaration of 'postcore_initcall' [-Werror=implicit-int]
>> drivers/pinctrl/rockchip/pinctrl-rk3228.c:217:1: warning: parameter names (without types) in function declaration
   drivers/pinctrl/rockchip/pinctrl-rk3228.c:213:19: warning: 'rk3228_pinctrl_init' defined but not used [-Wunused-function]
    static int __init rk3228_pinctrl_init(void)
                      ^~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
>> drivers/pinctrl/rockchip/pinctrl-rk3288.c:159:1: warning: data definition has no type or storage class
    postcore_initcall(rk3288_pinctrl_init);
    ^~~~~~~~~~~~~~~~~
>> drivers/pinctrl/rockchip/pinctrl-rk3288.c:159:1: error: type defaults to 'int' in declaration of 'postcore_initcall' [-Werror=implicit-int]
>> drivers/pinctrl/rockchip/pinctrl-rk3288.c:159:1: warning: parameter names (without types) in function declaration
   drivers/pinctrl/rockchip/pinctrl-rk3288.c:155:19: warning: 'rk3288_pinctrl_init' defined but not used [-Wunused-function]
    static int __init rk3288_pinctrl_init(void)
                      ^~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
>> drivers/pinctrl/rockchip/pinctrl-rk3308.c:407:1: warning: data definition has no type or storage class
    postcore_initcall(rk3308_pinctrl_init);
    ^~~~~~~~~~~~~~~~~
>> drivers/pinctrl/rockchip/pinctrl-rk3308.c:407:1: error: type defaults to 'int' in declaration of 'postcore_initcall' [-Werror=implicit-int]
>> drivers/pinctrl/rockchip/pinctrl-rk3308.c:407:1: warning: parameter names (without types) in function declaration
   drivers/pinctrl/rockchip/pinctrl-rk3308.c:403:19: warning: 'rk3308_pinctrl_init' defined but not used [-Wunused-function]
    static int __init rk3308_pinctrl_init(void)
                      ^~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
>> drivers/pinctrl/rockchip/pinctrl-rk3328.c:265:1: warning: data definition has no type or storage class
    postcore_initcall(rk3328_pinctrl_init);
    ^~~~~~~~~~~~~~~~~
>> drivers/pinctrl/rockchip/pinctrl-rk3328.c:265:1: error: type defaults to 'int' in declaration of 'postcore_initcall' [-Werror=implicit-int]
>> drivers/pinctrl/rockchip/pinctrl-rk3328.c:265:1: warning: parameter names (without types) in function declaration
   drivers/pinctrl/rockchip/pinctrl-rk3328.c:261:19: warning: 'rk3328_pinctrl_init' defined but not used [-Wunused-function]
    static int __init rk3328_pinctrl_init(void)
                      ^~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
..

vim +217 drivers/pinctrl/rockchip/pinctrl-px30.c

   212	
   213	static int __init px30_pinctrl_init(void)
   214	{
   215		return platform_driver_register(&px30_pinctrl_driver);
   216	}
 > 217	postcore_initcall(px30_pinctrl_init);

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 72762 bytes --]

  reply	other threads:[~2020-01-10 16:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-09  9:40 [PATCH] pinctrl/rockchip: splite soc data to separated driver Jianqun Xu
2020-01-10 16:19 ` kbuild test robot [this message]
2020-01-13  1:16 ` [PATCH v2] " Jianqun Xu
2020-01-15 12:51   ` Linus Walleij
2020-01-16  3:44     ` Kever Yang
2020-01-16  7:14       ` [PATCH v3] pinctrl: rockchip: split rockchip pinctrl driver by SoC type Jianqun Xu
2020-01-16  7:47       ` [PATCH v3 RESEND] " Jianqun Xu
2020-01-16 10:34         ` Robin Murphy
2020-01-17  8:13       ` [PATCH 0/2] pinctrl: rockchip: codingstyle for pinctrl-rockchip Jianqun Xu
2020-01-17  8:13         ` [PATCH 1/2] pinctrl: rockchip: new rockchip dir " Jianqun Xu
2020-01-17  8:13         ` [PATCH v4 2/2] pinctrl: rockchip: split rockchip pinctrl driver by SoC type Jianqun Xu
2020-02-15 11:11           ` Heiko Stuebner
2020-09-12 11:27         ` [PATCH 0/2] pinctrl: rockchip: codingstyle for pinctrl-rockchip Linus Walleij
2020-09-12 12:02           ` Heiko Stübner

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=202001110000.zdUUl6Gm%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=david.wu@rock-chips.com \
    --cc=heiko@sntech.de \
    --cc=jay.xu@rock-chips.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kever.yang@rock-chips.com \
    --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=linux-rockchip@lists.infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).