Hi Neil,

kernel test robot noticed the following build errors:

[auto build test ERROR on net-next/main]

url:    
https://github.com/intel-lab-lkp/linux/commits/Neil-Spring/tcp-rehash-onto-different-local-ECMP-path-on-retransmit-timeout/20260530-005334
base:   net-next/main
patch link:    
https://lore.kernel.org/r/20260529160136.1010064-3-ntspring%40meta.com
patch subject: [PATCH net-next v10 2/2] selftests: net: add local ECMP rehash 
test
config: x86_64-kexec 
(https://download.01.org/0day-ci/archive/20260530/[email protected]/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 
87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20260530/[email protected]/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 <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

   In file included from drivers/net/slip/slhc.c:74:
>> include/net/tcp.h:2557:2: error: call to undeclared function 
>> 'tcp_synq_overflow'; ISO C99 and later do not support implicit function 
>> declarations [-Wimplicit-function-declaration]
    2557 |         tcp_synq_overflow(sk);
         |         ^
   1 error generated.
--
   In file included from drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:48:
>> include/net/tcp.h:2557:2: error: call to undeclared function 
>> 'tcp_synq_overflow'; ISO C99 and later do not support implicit function 
>> declarations [-Wimplicit-function-declaration]
    2557 |         tcp_synq_overflow(sk);
         |         ^
   drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:15197:26: warning: shift 
count >= width of type [-Wshift-count-overflow]
    15197 |         bp->cyclecounter.mask = CYCLECOUNTER_MASK(64);
          |                                 ^~~~~~~~~~~~~~~~~~~~~
   include/linux/timecounter.h:14:59: note: expanded from macro 
'CYCLECOUNTER_MASK'
      14 | #define CYCLECOUNTER_MASK(bits) (u64)((bits) < 64 ? 
((1ULL<<(bits))-1) : -1)
         |                                                           ^ ~~~~~~
   1 warning and 1 error generated.


vim +/tcp_synq_overflow +2557 include/net/tcp.h

  2554  
  2555  static inline void cookie_record_sent(const struct sock *sk)
  2556  {
> 2557          tcp_synq_overflow(sk);
  2558          __NET_INC_STATS(sock_net(sk), LINUX_MIB_SYNCOOKIESSENT);
  2559  }
  2560  

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

Reply via email to