From: kernel test robot <lkp@intel.com>
To: Fernando Fernandez Mancera <fmancera@suse.de>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
0day robot <lkp@intel.com>
Subject: include/net/route.h:176:63: warning: omitting the parameter name in a function definition is a C2x extension
Date: Thu, 01 Oct 2026 18:58:14 +0200 [thread overview]
Message-ID: <202610011836.LY2TSmkY-lkp@intel.com> (raw)
tree: https://github.com/intel-lab-lkp/linux/commits/Fernando-Fernandez-Mancera/ipv4-introduce-CONFIG_IPV4-to-decouple-the-IPv4-stack/20260928-212957
head: 9699ec4e92ef081fbb0e1a4247538ba53e5b17bf
commit: 809c9f483b87854f5b7ede3ce9ac6e372855169c net: core: add IPv4 fallback stubs and guards for CONFIG_IPV4=n
date: 3 days ago
config: um-randconfig-2000-20261001 (https://download.01.org/0day-ci/archive/20261001/202610011836.LY2TSmkY-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261001/202610011836.LY2TSmkY-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/oe-kbuild-all/202610011836.LY2TSmkY-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from fs/eventpoll.c:23:
In file included from include/linux/syscalls.h:95:
In file included from include/trace/syscall.h:7:
In file included from include/linux/trace_events.h:9:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:24:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:12:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:1209:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
1209 | return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port;
| ~~~~~~~~~~ ^
In file included from fs/eventpoll.c:42:
In file included from include/net/busy_poll.h:18:
In file included from include/net/ip.h:30:
>> include/net/route.h:176:63: warning: omitting the parameter name in a function definition is a C2x extension [-Wc2x-extensions]
176 | static inline struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp,
| ^
2 warnings generated.
vim +176 include/net/route.h
171
172 #if IS_ENABLED(CONFIG_IPV4)
173 struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp,
174 const struct sock *sk);
175 #else
> 176 static inline struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp,
177 const struct sock *sk)
178 {
179 return ERR_PTR(-EAFNOSUPPORT);
180 }
181 #endif
182 struct dst_entry *ipv4_blackhole_route(struct net *net,
183 struct dst_entry *dst_orig);
184
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-10-01 16:59 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=202610011836.LY2TSmkY-lkp@intel.com \
--to=lkp@intel.com \
--cc=fmancera@suse.de \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@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.