tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: b5504db0db8375a77340b5bb54c17cfb75d3c754 commit: 37692de5d5235304835f4fdd5b3e5d5bae72fc16 [1298/1298] i2c: i2c-qcom-geni: Add bus driver for the Qualcomm GENI I2C controller config: x86_64-buildonly-randconfig-006-20241118 (https://download.01.org/0day-ci/archive/20241201/202412011940.QJsnBEa8-lkp@i...) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241201/202412011940.QJsnBEa8-lkp@i...)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot lkp@intel.com | Closes: https://lore.kernel.org/oe-kbuild-all/202412011940.QJsnBEa8-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/i2c/busses/i2c-qcom-geni.c:10: include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'geni_i2c_driver_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ include/linux/device.h:1558:1: note: in expansion of macro 'module_exit' 1558 | module_exit(__driver##_exit); | ^~~~~~~~~~~ include/linux/platform_device.h:228:9: note: in expansion of macro 'module_driver' 228 | module_driver(__platform_driver, platform_driver_register, \ | ^~~~~~~~~~~~~ drivers/i2c/busses/i2c-qcom-geni.c:670:1: note: in expansion of macro 'module_platform_driver' 670 | module_platform_driver(geni_i2c_driver); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/dma-mapping.h:7, from drivers/i2c/busses/i2c-qcom-geni.c:5: drivers/i2c/busses/i2c-qcom-geni.c:670:24: note: 'cleanup_module' target declared here 670 | module_platform_driver(geni_i2c_driver); | ^~~~~~~~~~~~~~~ include/linux/device.h:1554:20: note: in definition of macro 'module_driver' 1554 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ drivers/i2c/busses/i2c-qcom-geni.c:670:1: note: in expansion of macro 'module_platform_driver' 670 | module_platform_driver(geni_i2c_driver); | ^~~~~~~~~~~~~~~~~~~~~~ include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'geni_i2c_driver_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ include/linux/device.h:1553:1: note: in expansion of macro 'module_init' 1553 | module_init(__driver##_init); \ | ^~~~~~~~~~~ include/linux/platform_device.h:228:9: note: in expansion of macro 'module_driver' 228 | module_driver(__platform_driver, platform_driver_register, \ | ^~~~~~~~~~~~~ drivers/i2c/busses/i2c-qcom-geni.c:670:1: note: in expansion of macro 'module_platform_driver' 670 | module_platform_driver(geni_i2c_driver); | ^~~~~~~~~~~~~~~~~~~~~~ drivers/i2c/busses/i2c-qcom-geni.c:670:24: note: 'init_module' target declared here 670 | module_platform_driver(geni_i2c_driver); | ^~~~~~~~~~~~~~~ include/linux/device.h:1549:19: note: in definition of macro 'module_driver' 1549 | static int __init __driver##_init(void) \ | ^~~~~~~~ drivers/i2c/busses/i2c-qcom-geni.c:670:1: note: in expansion of macro 'module_platform_driver' 670 | module_platform_driver(geni_i2c_driver); | ^~~~~~~~~~~~~~~~~~~~~~
drivers/i2c/busses/i2c-qcom-geni.o: warning: objtool: missing symbol for section .init.text