0 day kernel build service
 help / color / mirror / Atom feed
* srv6_mobile_send.c:60:18: warning: 'plen' may be used uninitialized
@ 2026-07-11  1:29 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-11  1:29 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "low confidence bisect report"
:::::: Manual check reason: "likely FALSE maybe-used-uninitialized warning on old compiler"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Yuya Kusakabe <yuya.kusakabe@gmail.com>
CC: 0day robot <lkp@intel.com>

tree:   https://github.com/intel-lab-lkp/linux/commits/Yuya-Kusakabe/seg6-add-support-for-the-SRv6-End-MAP-behavior/20260710-171238
head:   15a633eda320fd75c637aca18deb3620faa75214
commit: 15a633eda320fd75c637aca18deb3620faa75214 selftests: seg6: add selftest for End.MAP behavior
date:   16 hours ago
:::::: branch date: 16 hours ago
:::::: commit date: 16 hours ago
config: x86_64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260711/202607110359.ePqo7PmV-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260711/202607110359.ePqo7PmV-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/202607110359.ePqo7PmV-lkp@intel.com/

Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings

All warnings (new ones prefixed by >>):

   srv6_mobile_send.c: In function 'main':
>> srv6_mobile_send.c:60:18: warning: 'plen' may be used uninitialized [-Wmaybe-uninitialized]
      60 |         uint32_t plen = htonl(len);
         |                  ^~~~
>> srv6_mobile_send.c:59:18: warning: 'nexthdr' may be used uninitialized [-Wmaybe-uninitialized]
      59 |         uint32_t nexthdr = htonl(IPPROTO_ICMPV6);
         |                  ^~~~~~~

--
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-07-11  1:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-11  1:29 srv6_mobile_send.c:60:18: warning: 'plen' may be used uninitialized kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox