Hi Kevin, kernel test robot noticed the following build warnings:
url: https://github.com/intel-lab-lkp/linux/commits/UPDATE-20251218-003955/Kevin-Brodsky/powerpc-64s-Do-not-re-activate-batched-TLB-flush/20251215-230757 base: the 14th patch of https://lore.kernel.org/r/20251215150323.2218608-15-kevin.brodsky%40arm.com patch link: https://lore.kernel.org/r/20251217163812.2633648-1-kevin.brodsky%40arm.com patch subject: [PATCH] powerpc/mm: export symbols for lazy_mmu_mode KUnit tests config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20251222/[email protected]/config) compiler: powerpc64-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251222/[email protected]/reproduce) 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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): >> arch/powerpc/mm/book3s64/hash_tlb.c:33:1: warning: data definition has no >> type or storage class 33 | EXPORT_SYMBOL_IF_KUNIT(ppc64_tlb_batch); /* For lazy_mmu_mode KUnit tests */ | ^~~~~~~~~~~~~~~~~~~~~~ arch/powerpc/mm/book3s64/hash_tlb.c:33:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_IF_KUNIT' [-Wimplicit-int] arch/powerpc/mm/book3s64/hash_tlb.c:33:1: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] arch/powerpc/mm/book3s64/hash_tlb.c:158:1: warning: data definition has no type or storage class 158 | EXPORT_SYMBOL_IF_KUNIT(__flush_tlb_pending); /* For lazy_mmu_mode KUnit tests */ | ^~~~~~~~~~~~~~~~~~~~~~ arch/powerpc/mm/book3s64/hash_tlb.c:158:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_IF_KUNIT' [-Wimplicit-int] arch/powerpc/mm/book3s64/hash_tlb.c:158:1: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] vim +33 arch/powerpc/mm/book3s64/hash_tlb.c 31 32 DEFINE_PER_CPU(struct ppc64_tlb_batch, ppc64_tlb_batch); > 33 EXPORT_SYMBOL_IF_KUNIT(ppc64_tlb_batch); /* For lazy_mmu_mode KUnit tests */ 34 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
