Hi Markus, kernel test robot noticed the following build errors:
[auto build test ERROR on perf-tools-next/perf-tools-next] [also build test ERROR on tip/perf/core perf-tools/perf-tools linus/master v7.2-rc6 next-20260806] [cannot apply to acme/perf/core] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Markus-Elfring/tools-Use-fputc-calls-in-some-functions/20260806-165154 base: https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git perf-tools-next patch link: https://lore.kernel.org/r/48f2d61f-d468-49b7-881e-f00777db073f%40web.de patch subject: [PATCH] tools: Use fputc() calls in some functions config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260807/[email protected]/config) compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260807/[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 errors (new ones prefixed by >>): >> builtin-check.c:300:8: error: incompatible pointer to integer conversion >> passing 'FILE *' (aka 'struct _IO_FILE *') to parameter of type 'int' >> [-Wint-conversion] 300 | fputc(stderr, '\n'); | ^~~~~~ /usr/include/stdio.h:155:16: note: expanded from macro 'stderr' 155 | #define stderr stderr | ^~~~~~ /usr/include/stdio.h:611:23: note: passing argument to parameter '__c' here 611 | extern int fputc (int __c, FILE *__stream) __nonnull ((2)); | ^ >> builtin-check.c:300:16: error: incompatible integer to pointer conversion >> passing 'int' to parameter of type 'FILE *' (aka 'struct _IO_FILE *') >> [-Wint-conversion] 300 | fputc(stderr, '\n'); | ^~~~ /usr/include/stdio.h:611:34: note: passing argument to parameter '__stream' here 611 | extern int fputc (int __c, FILE *__stream) __nonnull ((2)); | ^ 2 errors generated. >> disas.c:540:9: error: incompatible pointer to integer conversion passing >> 'FILE *' (aka 'struct _IO_FILE *') to parameter of type 'int' >> [-Wint-conversion] 540 | fputc(stream, '\n'); | ^~~~~~ /usr/include/stdio.h:611:23: note: passing argument to parameter '__c' here 611 | extern int fputc (int __c, FILE *__stream) __nonnull ((2)); | ^ >> disas.c:540:17: error: incompatible integer to pointer conversion passing >> 'int' to parameter of type 'FILE *' (aka 'struct _IO_FILE *') >> [-Wint-conversion] 540 | fputc(stream, '\n'); | ^~~~ /usr/include/stdio.h:611:34: note: passing argument to parameter '__stream' here 611 | extern int fputc (int __c, FILE *__stream) __nonnull ((2)); | ^ make[5]: *** [tools/build/Makefile.build:96: tools/objtool/builtin-check.o] Error 1 2 errors generated. make[5]: *** [tools/build/Makefile.build:95: tools/objtool/disas.o] Error 1 make[5]: Target '__build' not remade because of errors. make[4]: *** [Makefile:123: tools/objtool/objtool-in.o] Error 2 make[4]: Target 'all' not remade because of errors. make[3]: *** [Makefile:74: objtool] Error 2 make[2]: *** [Makefile:1587: tools/objtool] Error 2 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:248: __sub-make] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:248: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
