[arm-platforms:irq/irqchip-next 42/43] drivers/irqchip/irq-mtk-cirq.c:300:1: warning: parameter names (without types) in function declaration
kernel test robot
lkp at intel.com
Sun Jul 26 07:35:59 EDT 2020
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/irqchip-next
head: 99e05524bc722c8d3c1ab9c817afcb6829dbded3
commit: 538b63351607960ff2249460089daa31337ddeba [42/43] irqchip/mtk-cirq: Convert to a platform driver
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
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
git checkout 538b63351607960ff2249460089daa31337ddeba
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All warnings (new ones prefixed by >>):
In file included from drivers/irqchip/irq-mtk-cirq.c:10:
include/linux/irqchip.h:40:1: warning: data definition has no type or storage class
40 | MODULE_DEVICE_TABLE(of, drv_name##_irqchip_match_table); \
| ^~~~~~~~~~~~~~~~~~~
drivers/irqchip/irq-mtk-cirq.c:300:1: note: in expansion of macro 'IRQCHIP_PLATFORM_DRIVER_END'
300 | IRQCHIP_PLATFORM_DRIVER_END(mtk_cirq)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/irqchip.h:40:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int]
40 | MODULE_DEVICE_TABLE(of, drv_name##_irqchip_match_table); \
| ^~~~~~~~~~~~~~~~~~~
drivers/irqchip/irq-mtk-cirq.c:300:1: note: in expansion of macro 'IRQCHIP_PLATFORM_DRIVER_END'
300 | IRQCHIP_PLATFORM_DRIVER_END(mtk_cirq)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/irqchip/irq-mtk-cirq.c:300:1: warning: parameter names (without types) in function declaration
cc1: some warnings being treated as errors
vim +300 drivers/irqchip/irq-mtk-cirq.c
297
298 IRQCHIP_PLATFORM_DRIVER_BEGIN(mtk_cirq)
299 IRQCHIP_MATCH("mediatek,mtk-cirq", mtk_cirq_of_init)
> 300 IRQCHIP_PLATFORM_DRIVER_END(mtk_cirq)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 52664 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20200726/c709feb7/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list