All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: [tamird:b4/bpf-ringbuf-callback 10/11] ringbuf.c:412:9: error: ISO C90 forbids mixed declarations and code
Date: Sun, 14 Jun 2026 03:49:09 +0200	[thread overview]
Message-ID: <202606140325.IV2DvOpj-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "low confidence bisect report"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Tamir Duberstein <tamird@kernel.org>

tree:   https://github.com/tamird/linux b4/bpf-ringbuf-callback
head:   86c71f6b231e0611740aaab0d264f38d3713ccd8
commit: beab874d3a3d58feda17e6857e4c8cc2a8dd46d1 [10/11] libbpf: ringbuf: Add a caller-owned iterator
:::::: branch date: 2 hours ago
:::::: commit date: 2 hours ago
config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260614/202606140325.IV2DvOpj-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/20260614/202606140325.IV2DvOpj-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/202606140325.IV2DvOpj-lkp@intel.com/

All errors (new ones prefixed by >>):

   Makefile.config:577: No elfutils/debuginfod.h found, no debuginfo server support, please install libdebuginfod-dev/elfutils-debuginfod-client-devel or equivalent
   Makefile.config:964: No libllvm 13+ found, slower source file resolution, please install llvm-devel/llvm-dev
   Makefile.config:1160: Rust is not found. Test workloads with rust are disabled.
     PERF_VERSION = 7.1.rc5.gbeab874d3a3d
   ringbuf.c: In function 'ringbuf_process_ring':
>> ringbuf.c:412:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
     412 |         struct ring_buffer_iter it
         |         ^~~~~~
   cc1: all warnings being treated as errors
   make[4]: *** [tools/build/Makefile.build:95: tools/perf/libbpf/staticobjs/ringbuf.o] Error 1
   make[4]: *** Waiting for unfinished jobs....
   ringbuf.c: In function 'ringbuf_process_ring':
>> ringbuf.c:412:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
     412 |         struct ring_buffer_iter it
         |         ^~~~~~
   cc1: all warnings being treated as errors
   make[5]: *** [tools/build/Makefile.build:95: tools/perf/util/bpf_skel/.tmp/bootstrap/libbpf/staticobjs/ringbuf.o] Error 1
   make[5]: *** Waiting for unfinished jobs....
   make[3]: *** [Makefile:152: tools/perf/libbpf/staticobjs/libbpf-in.o] Error 2
   make[2]: *** [Makefile.perf:964: tools/perf/libbpf/libbpf.a] Error 2
   make[2]: *** Waiting for unfinished jobs....
   make[4]: *** [Makefile:152: tools/perf/util/bpf_skel/.tmp/bootstrap/libbpf/staticobjs/libbpf-in.o] Error 2
   make[3]: *** [Makefile:48: tools/perf/util/bpf_skel/.tmp/bootstrap/libbpf/libbpf.a] Error 2
   make[2]: *** [Makefile.perf:1214: tools/perf/util/bpf_skel/.tmp/bootstrap/bpftool] Error 2
   make[1]: *** [Makefile.perf:288: sub-make] Error 2

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-06-14  1:49 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=202606140325.IV2DvOpj-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.