tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: 3a28772f4b29bdda924e9a5d2e3ff1ff1b23fd14 commit: d83c305cb9b2708b835a47c9ddcbcab97cf70c9f [15494/21616] Huawei BMA: Adding Huawei BMA driver: host_kbox_drv config: x86_64-buildonly-randconfig-001-20240203 (https://download.01.org/0day-ci/archive/20240206/202402060344.3muEo68Z-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/20240206/202402060344.3muEo68Z-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/202402060344.3muEo68Z-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/net/ethernet/huawei/bma/kbox_drv/kbox_ram_op.c:42:6: warning: no previous prototype for 'kbox_write_to_pci' [-Wmissing-prototypes] 42 | void kbox_write_to_pci(void __iomem *dest, const void *src, int len, | ^~~~~~~~~~~~~~~~~ drivers/net/ethernet/huawei/bma/kbox_drv/kbox_ram_op.c:111:6: warning: no previous prototype for 'kbox_read_from_pci' [-Wmissing-prototypes] 111 | void kbox_read_from_pci(void *dest, void __iomem *src, int len, | ^~~~~~~~~~~~~~~~~~ drivers/net/ethernet/huawei/bma/kbox_drv/kbox_ram_op.c:172:6: warning: no previous prototype for 'kbox_memset_pci' [-Wmissing-prototypes] 172 | void kbox_memset_pci(void __iomem *dest, const char set_byte, int len, | ^~~~~~~~~~~~~~~
drivers/net/ethernet/huawei/bma/kbox_drv/kbox_ram_op.o: warning: objtool: missing symbol for section .text
-- drivers/net/ethernet/huawei/bma/kbox_drv/kbox_dump.c:35:19: warning: 'g_day_in_month' defined but not used [-Wunused-const-variable=] 35 | static const char g_day_in_month[] = { | ^~~~~~~~~~~~~~
drivers/net/ethernet/huawei/bma/kbox_drv/kbox_dump.o: warning: objtool: missing symbol for section .text
-- drivers/net/ethernet/huawei/bma/kbox_drv/kbox_panic.c: In function 'kbox_dump_painc_info': drivers/net/ethernet/huawei/bma/kbox_drv/kbox_panic.c:85:9: warning: function 'kbox_dump_painc_info' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 85 | num = vsnprintf(tmp_buf, sizeof(tmp_buf) - 1, fmt, args); | ^~~
drivers/net/ethernet/huawei/bma/kbox_drv/kbox_panic.o: warning: objtool: missing symbol for section .text
-- drivers/net/ethernet/huawei/bma/kbox_drv/kbox_main.c: In function 'kbox_init': drivers/net/ethernet/huawei/bma/kbox_drv/kbox_main.c:99:55: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 99 | KBOX_MSG("kbox_printk_init failed!\n"); | ^
drivers/net/ethernet/huawei/bma/kbox_drv/kbox_main.o: warning: objtool: missing symbol for section .init.text
--
drivers/net/ethernet/huawei/bma/kbox_drv/kbox_ram_image.o: warning: objtool: missing symbol for section .text