From: kernel test robot <lkp@intel.com>
To: Xin Zhao <jackzxcui1989@163.com>, willemdebruijn.kernel@gmail.com
Cc: oe-kbuild-all@lists.linux.dev, davem@davemloft.net,
edumazet@google.com, kuba@kernel.org, pabeni@redhat.com,
horms@kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, Xin Zhao <jackzxcui1989@163.com>
Subject: Re: [PATCH] net: af_packet: add af_packet hrtimer mode
Date: Thu, 7 Aug 2025 04:28:35 +0800 [thread overview]
Message-ID: <202508070419.1T0vxudH-lkp@intel.com> (raw)
In-Reply-To: <20250806055210.1530081-1-jackzxcui1989@163.com>
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@intel.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
next prev parent reply other threads:[~2025-08-06 20:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-06 5:52 Xin Zhao
2025-08-06 7:24 ` Ferenc Fejes
2025-08-06 8:51 ` Eric Dumazet
2025-08-06 20:28 ` kernel test robot [this message]
2025-08-08 4:33 Xin Zhao
2025-08-08 11:39 ` Ferenc Fejes
2025-08-08 5:06 Xin Zhao
2025-08-08 6:01 ` Eric Dumazet
2025-08-08 7:28 Xin Zhao
2025-08-09 8:57 Xin Zhao
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=202508070419.1T0vxudH-lkp@intel.com \
--to=lkp@intel.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=jackzxcui1989@163.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pabeni@redhat.com \
--cc=willemdebruijn.kernel@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®