* main.c:276:31: error: passing argument 1 of 'fputc' makes integer from pointer without a cast
@ 2026-08-06 11:05 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-06 11:05 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence bisect report"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Markus Elfring <elfring@users.sourceforge.net>
CC: 0day robot <lkp@intel.com>
Hi Markus,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://github.com/intel-lab-lkp/linux/commits/Markus-Elfring/tools-Use-fputc-calls-in-some-functions/20260806-165154
head: e56bf8a92708e92480f6dc2a8fcf773661b9e616
commit: e56bf8a92708e92480f6dc2a8fcf773661b9e616 tools: Use fputc() calls in some functions
date: 2 hours ago
:::::: branch date: 2 hours ago
:::::: commit date: 2 hours ago
config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260806/202608061302.Gj3RVITR-lkp@intel.com/config)
compiler: aarch64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260806/202608061302.Gj3RVITR-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/r/202608061302.Gj3RVITR-lkp@intel.com/
All errors (new ones prefixed by >>):
Makefile.config:564: No elfutils/debuginfod.h found, no debuginfo server support, please install libdebuginfod-dev/elfutils-debuginfod-client-devel or equivalent
Makefile.config:938: No libllvm 13+ found, slower source file resolution, please install llvm-devel/llvm-dev
Makefile.config:1044: No babeltrace2 found, disables 'perf data' CTF format support, please install libbabeltrace2-dev[el]
Makefile.config:1134: Rust is not found. Test workloads with rust are disabled.
PERF_VERSION = 7.2.rc4.ge56bf8a92708
cc1: warning: '-Wformat-y2k' ignored without '-Wformat' [-Wformat-y2k]
cc1: warning: '-Wformat-security' ignored without '-Wformat' [-Wformat-security]
main.c: In function 'fprint_hex':
>> main.c:276:31: error: passing argument 1 of 'fputc' makes integer from pointer without a cast [-Wint-conversion]
276 | fputc(f, '\n');
| ^
| |
| FILE *
In file included from main.c:8:
/usr/include/stdio.h:611:23: note: expected 'int' but argument is of type 'FILE *'
611 | extern int fputc (int __c, FILE *__stream) __nonnull ((2));
| ~~~~^~~
>> main.c:276:34: error: passing argument 2 of 'fputc' makes pointer from integer without a cast [-Wint-conversion]
276 | fputc(f, '\n');
| ^~~~
| |
| int
/usr/include/stdio.h:611:34: note: expected 'FILE *' but argument is of type 'int'
611 | extern int fputc (int __c, FILE *__stream) __nonnull ((2));
| ~~~~~~^~~~~~~~
make[4]: *** [Makefile:294: tools/perf/util/bpf_skel/.tmp/bootstrap/main.o] Error 1
make[4]: *** Waiting for unfinished jobs....
common.c: In function 'p_err':
>> common.c:56:23: error: passing argument 1 of 'fputc' makes integer from pointer without a cast [-Wint-conversion]
56 | fputc(stderr, '\n');
| ^~~~~~
| |
| FILE *
In file included from common.c:15:
/usr/include/stdio.h:611:23: note: expected 'int' but argument is of type 'FILE *'
611 | extern int fputc (int __c, FILE *__stream) __nonnull ((2));
| ~~~~^~~
>> common.c:56:31: error: passing argument 2 of 'fputc' makes pointer from integer without a cast [-Wint-conversion]
56 | fputc(stderr, '\n');
| ^~~~
| |
| int
/usr/include/stdio.h:611:34: note: expected 'FILE *' but argument is of type 'int'
611 | extern int fputc (int __c, FILE *__stream) __nonnull ((2));
| ~~~~~~^~~~~~~~
common.c: In function 'p_info':
common.c:70:15: error: passing argument 1 of 'fputc' makes integer from pointer without a cast [-Wint-conversion]
70 | fputc(stderr, '\n');
| ^~~~~~
| |
| FILE *
/usr/include/stdio.h:611:23: note: expected 'int' but argument is of type 'FILE *'
611 | extern int fputc (int __c, FILE *__stream) __nonnull ((2));
| ~~~~^~~
common.c:70:23: error: passing argument 2 of 'fputc' makes pointer from integer without a cast [-Wint-conversion]
70 | fputc(stderr, '\n');
| ^~~~
| |
| int
/usr/include/stdio.h:611:34: note: expected 'FILE *' but argument is of type 'int'
611 | extern int fputc (int __c, FILE *__stream) __nonnull ((2));
| ~~~~~~^~~~~~~~
make[4]: *** [Makefile:294: tools/perf/util/bpf_skel/.tmp/bootstrap/common.o] Error 1
make[3]: *** [bpf_skel.mak:44: tools/perf/util/bpf_skel/.tmp/bootstrap/bpftool] Error 2
make[2]: *** [Makefile.perf:622: bpf-skel-prepare] Error 2
make[1]: *** [Makefile.perf:281: sub-make] Error 2
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-06 11:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-06 11:05 main.c:276:31: error: passing argument 1 of 'fputc' makes integer from pointer without a cast kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.