From: kernel test robot <lkp@intel.com>
To: aubrey.li@linux.intel.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [anolis-intel-cloud:devel-5.10 1/1] include/net/ip6_fib.h:273:10: error: default initialization of an object of type 'typeof (f6i->expires)' (aka 'const unsigned long') leaves the object uninitialized
Date: Tue, 15 Jul 2025 13:34:00 +0800 [thread overview]
Message-ID: <202507151322.RYo5pnBp-lkp@intel.com> (raw)
tree: https://gitee.com/anolis/intel-cloud-kernel.git devel-5.10
head: 9117970143cf69ace484f08b1d545a03f57c69ff
commit: f55326b5b36a104711ee86c851bd2a981cae61d0 [1/1] anolis: net: supports linkdata ethernet controllers
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20250715/202507151322.RYo5pnBp-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project 16534d19bf50bde879a83f0ae62875e2c5120e64)
rustc: rustc 1.58.0 (02072b482 2022-01-11)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250715/202507151322.RYo5pnBp-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/202507151322.RYo5pnBp-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/net/ethernet/linkdata/sxe/sxepf/sxe_netdev.c:16:
In file included from include/net/xfrm.h:26:
>> include/net/ip6_fib.h:273:10: error: default initialization of an object of type 'typeof (f6i->expires)' (aka 'const unsigned long') leaves the object uninitialized [-Werror,-Wdefault-const-init-var-unsafe]
273 | return time_after(jiffies, f6i->expires);
| ^
include/linux/jiffies.h:106:3: note: expanded from macro 'time_after'
106 | typecheck(unsigned long, b) && \
| ^
include/linux/typecheck.h:11:12: note: expanded from macro 'typecheck'
11 | typeof(x) __dummy2; \
| ^
1 error generated.
vim +273 include/net/ip6_fib.h
1716a96101c491 Gao feng 2012-04-06 269
8d1c802b2815ed David Ahern 2018-04-17 270 static inline bool fib6_check_expired(const struct fib6_info *f6i)
1716a96101c491 Gao feng 2012-04-06 271 {
93c2fb253d177a David Ahern 2018-04-18 272 if (f6i->fib6_flags & RTF_EXPIRES)
14895687d36805 David Ahern 2018-04-17 @273 return time_after(jiffies, f6i->expires);
14895687d36805 David Ahern 2018-04-17 274 return false;
1716a96101c491 Gao feng 2012-04-06 275 }
b197df4f0f3782 Martin KaFai Lau 2015-05-22 276
:::::: The code at line 273 was first introduced by commit
:::::: 14895687d36805f051bb54014c32e48e5937f7e1 net/ipv6: move expires into rt6_info
:::::: TO: David Ahern <dsahern@gmail.com>
:::::: CC: David S. Miller <davem@davemloft.net>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-07-15 5:34 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=202507151322.RYo5pnBp-lkp@intel.com \
--to=lkp@intel.com \
--cc=aubrey.li@linux.intel.com \
--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.