lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202001110000.zdUUl6Gm%lkp@intel.com>
Date:   Sat, 11 Jan 2020 00:19:02 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Jianqun Xu <jay.xu@...k-chips.com>
Cc:     kbuild-all@...ts.01.org, linus.walleij@...aro.org, heiko@...ech.de,
        david.wu@...k-chips.com, kever.yang@...k-chips.com,
        linux-kernel@...r.kernel.org, linux-gpio@...r.kernel.org,
        linux-arm-kernel@...ts.infradead.org,
        linux-rockchip@...ts.infradead.org, jay.xu@...k-chips.com
Subject: Re: [PATCH] pinctrl/rockchip: splite soc data to separated driver

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@...el.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

Download attachment ".config.gz" of type "application/gzip" (72762 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ