lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202508070419.1T0vxudH-lkp@intel.com>
Date: Thu, 7 Aug 2025 04:28:35 +0800
From: kernel test robot <lkp@...el.com>
To: Xin Zhao <jackzxcui1989@....com>, willemdebruijn.kernel@...il.com
Cc: oe-kbuild-all@...ts.linux.dev, davem@...emloft.net, edumazet@...gle.com,
	kuba@...nel.org, pabeni@...hat.com, horms@...nel.org,
	netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
	Xin Zhao <jackzxcui1989@....com>
Subject: Re: [PATCH] net: af_packet: add af_packet hrtimer mode

Hi Xin,

kernel test robot noticed the following build errors:

[auto build test ERROR on net-next/main]
[also build test ERROR on net/main linus/master v6.16 next-20250806]
[cannot apply to horms-ipvs/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Xin-Zhao/net-af_packet-add-af_packet-hrtimer-mode/20250806-135354
base:   net-next/main
patch link:    https://lore.kernel.org/r/20250806055210.1530081-1-jackzxcui1989%40163.com
patch subject: [PATCH] net: af_packet: add af_packet hrtimer mode
config: x86_64-randconfig-004-20250807 (https://download.01.org/0day-ci/archive/20250807/202508070419.1T0vxudH-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250807/202508070419.1T0vxudH-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202508070419.1T0vxudH-lkp@intel.com/

All errors (new ones prefixed by >>):

   net/packet/af_packet.c: In function 'prb_setup_retire_blk_timer':
>> net/packet/af_packet.c:615:9: error: implicit declaration of function 'hrtimer_init'; did you mean 'hrtimers_init'? [-Werror=implicit-function-declaration]
     615 |         hrtimer_init(&pkc->retire_blk_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL_SOFT);
         |         ^~~~~~~~~~~~
         |         hrtimers_init
   cc1: some warnings being treated as errors


vim +615 net/packet/af_packet.c

   608	
   609	static void prb_setup_retire_blk_timer(struct packet_sock *po)
   610	{
   611		struct tpacket_kbdq_core *pkc;
   612	
   613		pkc = GET_PBDQC_FROM_RB(&po->rx_ring);
   614	#ifdef CONFIG_PACKET_HRTIMER
 > 615		hrtimer_init(&pkc->retire_blk_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL_SOFT);
   616		pkc->retire_blk_timer.function = prb_retire_rx_blk_timer_expired;
   617		if (pkc->tov_in_msecs == 0)
   618			pkc->tov_in_msecs = jiffies_to_msecs(1);
   619	#else
   620		timer_setup(&pkc->retire_blk_timer, prb_retire_rx_blk_timer_expired,
   621			    0);
   622		pkc->retire_blk_timer.expires = jiffies;
   623	#endif
   624	}
   625	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ