Re: [PATCH] pinctrl/rockchip: splite soc data to separated driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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@xxxxxxxxxxxx Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-rockchip

[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux