tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-nonmm-unstable head: 7e72bb7504d1192ab89809f6192dba1b06f4fa51 commit: 7e72bb7504d1192ab89809f6192dba1b06f4fa51 [43/43] printk: add a short description string to kmsg_dump() config: powerpc64-randconfig-002-20240626 (https://download.01.org/0day-ci/archive/20240627/202406270010.IIwJCerE-lkp@xxxxxxxxx/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240627/202406270010.IIwJCerE-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202406270010.IIwJCerE-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): >> arch/powerpc/kernel/nvram_64.c:79:10: error: incompatible function pointer types initializing 'void (*)(struct kmsg_dumper *, enum kmsg_dump_reason, const char *)' with an expression of type 'void (struct kmsg_dumper *, enum kmsg_dump_reason)' [-Werror,-Wincompatible-function-pointer-types] .dump = oops_to_nvram ^~~~~~~~~~~~~ >> arch/powerpc/kernel/nvram_64.c:645:13: error: conflicting types for 'oops_to_nvram' static void oops_to_nvram(struct kmsg_dumper *dumper, ^ arch/powerpc/kernel/nvram_64.c:75:13: note: previous declaration is here static void oops_to_nvram(struct kmsg_dumper *dumper, ^ 2 errors generated. vim +79 arch/powerpc/kernel/nvram_64.c 78989f0a559218 Hari Bathini 2015-02-06 74 78989f0a559218 Hari Bathini 2015-02-06 75 static void oops_to_nvram(struct kmsg_dumper *dumper, 78989f0a559218 Hari Bathini 2015-02-06 76 enum kmsg_dump_reason reason); 78989f0a559218 Hari Bathini 2015-02-06 77 78989f0a559218 Hari Bathini 2015-02-06 78 static struct kmsg_dumper nvram_kmsg_dumper = { 78989f0a559218 Hari Bathini 2015-02-06 @79 .dump = oops_to_nvram 78989f0a559218 Hari Bathini 2015-02-06 80 }; 78989f0a559218 Hari Bathini 2015-02-06 81 :::::: The code at line 79 was first introduced by commit :::::: 78989f0a5592182a3d45d869ddaafc71c8f673af powerpc/nvram: Move generic code for nvram and pstore :::::: TO: Hari Bathini <hbathini@xxxxxxxxxxxxxxxxxx> :::::: CC: Michael Ellerman <mpe@xxxxxxxxxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki