On 17/12/2025 18:30, Andrew Morton wrote: > On Wed, 17 Dec 2025 22:15:16 +0530 Ritesh Harjani (IBM) > <[email protected]> wrote: > >> ../arch/powerpc/mm/book3s64/hash_tlb.c:158:1: error: type defaults to ‘int’ >> in declaration of ‘EXPORT_SYMBOL_IF_KUNIT’ [-Werror=implicit-int] >> ../arch/powerpc/mm/book3s64/hash_tlb.c:158:1: error: parameter names >> (without types) in function declaration [-Werror] >> AR init/built-in.a >> cc1: all warnings being treated as errors >> make[6]: *** [../scripts/Makefile.build:287: >> arch/powerpc/mm/book3s64/hash_tlb.o] Error 1 >> make[5]: *** [../scripts/Makefile.build:556: arch/powerpc/mm/book3s64] Error >> 2 >> >> >> IMO, we will need the following header in hash_tlb.c >> >> +#include <kunit/visibility.h>
Ha strange it built fine for me without it... Maybe different config options. > Yeah, I already added Ritesh's patch which had this include, so I > think we're all good now. Great thanks both! - Kevin
