From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: main.c:276:31: error: passing argument 1 of 'fputc' makes integer from pointer without a cast
Date: Thu, 06 Aug 2026 13:05:59 +0200 [thread overview]
Message-ID: <202608061302.Gj3RVITR-lkp@intel.com> (raw)
::::::
:::::: 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
reply other threads:[~2026-08-06 11:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202608061302.Gj3RVITR-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.