[pinctrl:devel 63/64] drivers/pinctrl/mediatek/pinctrl-mt6779.c:775:15: error: a parameter list without types is only allowed in a function definition

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
head:   d9ce0e9fdfd37d45f669b831d0c084a7c9338ee8
commit: e6f744c6ad4fb3b7ac06d4e22b79e435578a6d54 [63/64] pinctrl: mediatek: add pinctrl support for MT6779 SoC
config: x86_64-allmodconfig (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project ed6b578040a85977026c93bf4188f996148f3218)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout e6f744c6ad4fb3b7ac06d4e22b79e435578a6d54
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

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

>> drivers/pinctrl/mediatek/pinctrl-mt6779.c:775:1: warning: declaration specifier missing, defaulting to 'int'
   arch_initcall(mt6779_pinctrl_init);
   ^
   int
>> drivers/pinctrl/mediatek/pinctrl-mt6779.c:775:15: error: a parameter list without types is only allowed in a function definition
   arch_initcall(mt6779_pinctrl_init);
                 ^
   1 warning and 1 error generated.

vim +775 drivers/pinctrl/mediatek/pinctrl-mt6779.c

   770	
   771	static int __init mt6779_pinctrl_init(void)
   772	{
   773		return platform_driver_register(&mt6779_pinctrl_driver);
   774	}
 > 775	arch_initcall(mt6779_pinctrl_init);

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux