From: kernel test robot <lkp@intel.com>
To: John Ousterhout <ouster@cs.stanford.edu>, netdev@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, John Ousterhout <ouster@cs.stanford.edu>
Subject: Re: [PATCH net-next 12/12] net: homa: create Makefile and Kconfig
Date: Tue, 29 Oct 2024 22:00:48 +0800 [thread overview]
Message-ID: <202410292151.ozZhCbRL-lkp@intel.com> (raw)
In-Reply-To: <20241028213541.1529-13-ouster@cs.stanford.edu>
Hi John,
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/John-Ousterhout/net-homa-define-user-visible-API-for-Homa/20241029-095137
base: net-next/main
patch link: https://lore.kernel.org/r/20241028213541.1529-13-ouster%40cs.stanford.edu
patch subject: [PATCH net-next 12/12] net: homa: create Makefile and Kconfig
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20241029/202410292151.ozZhCbRL-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241029/202410292151.ozZhCbRL-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/202410292151.ozZhCbRL-lkp@intel.com/
All errors (new ones prefixed by >>):
net/homa/homa_incoming.c: In function 'homa_incoming_sysctl_changed':
>> net/homa/homa_incoming.c:1078:22: error: 'cpu_khz' undeclared (first use in this function)
1078 | tmp = (tmp * cpu_khz) / 1000;
| ^~~~~~~
net/homa/homa_incoming.c:1078:22: note: each undeclared identifier is reported only once for each function it appears in
--
net/homa/homa_outgoing.c: In function 'homa_outgoing_sysctl_changed':
>> net/homa/homa_outgoing.c:579:46: error: 'cpu_khz' undeclared (first use in this function)
579 | homa->cycles_per_kbyte = (8 * (__u64)cpu_khz) / homa->link_mbps;
| ^~~~~~~
net/homa/homa_outgoing.c:579:46: note: each undeclared identifier is reported only once for each function it appears in
--
net/homa/homa_peer.c: In function 'homa_dst_refresh':
>> net/homa/homa_peer.c:189:48: error: 'cpu_khz' undeclared (first use in this function)
189 | dead->gc_time = now + (cpu_khz << 7);
| ^~~~~~~
net/homa/homa_peer.c:189:48: note: each undeclared identifier is reported only once for each function it appears in
--
net/homa/homa_plumbing.c: In function 'homa_softirq':
>> net/homa/homa_plumbing.c:712:61: error: 'cpu_khz' undeclared (first use in this function)
712 | int scaled_ms = (int)(10 * (start - last) / cpu_khz);
| ^~~~~~~
net/homa/homa_plumbing.c:712:61: note: each undeclared identifier is reported only once for each function it appears in
--
net/homa/homa_utils.c: In function 'homa_spin':
>> net/homa/homa_utils.c:122:36: error: 'cpu_khz' undeclared (first use in this function)
122 | end = get_cycles() + (ns * cpu_khz) / 1000000;
| ^~~~~~~
net/homa/homa_utils.c:122:36: note: each undeclared identifier is reported only once for each function it appears in
vim +/cpu_khz +1078 net/homa/homa_incoming.c
223bab41c36796 John Ousterhout 2024-10-28 1063
223bab41c36796 John Ousterhout 2024-10-28 1064 /**
223bab41c36796 John Ousterhout 2024-10-28 1065 * homa_incoming_sysctl_changed() - Invoked whenever a sysctl value is changed;
223bab41c36796 John Ousterhout 2024-10-28 1066 * any input-related parameters that depend on sysctl-settable values.
223bab41c36796 John Ousterhout 2024-10-28 1067 * @homa: Overall data about the Homa protocol implementation.
223bab41c36796 John Ousterhout 2024-10-28 1068 */
223bab41c36796 John Ousterhout 2024-10-28 1069 void homa_incoming_sysctl_changed(struct homa *homa)
223bab41c36796 John Ousterhout 2024-10-28 1070 {
223bab41c36796 John Ousterhout 2024-10-28 1071 __u64 tmp;
223bab41c36796 John Ousterhout 2024-10-28 1072
223bab41c36796 John Ousterhout 2024-10-28 1073 /* Code below is written carefully to avoid integer underflow or
223bab41c36796 John Ousterhout 2024-10-28 1074 * overflow under expected usage patterns. Be careful when changing!
223bab41c36796 John Ousterhout 2024-10-28 1075 */
223bab41c36796 John Ousterhout 2024-10-28 1076
223bab41c36796 John Ousterhout 2024-10-28 1077 tmp = homa->busy_usecs;
223bab41c36796 John Ousterhout 2024-10-28 @1078 tmp = (tmp * cpu_khz) / 1000;
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-10-29 14:01 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-28 21:35 [PATCH net-next 00/12] Begin upstreaming Homa transport protocol John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 01/12] net: homa: define user-visible API for Homa John Ousterhout
2024-10-29 21:59 ` Andrew Lunn
2024-10-30 4:06 ` John Ousterhout
2024-10-30 12:41 ` Andrew Lunn
2024-11-01 17:47 ` John Ousterhout
2024-11-01 18:01 ` Andrew Lunn
2024-11-07 21:58 ` Edward Cree
2024-11-08 17:55 ` John Ousterhout
2024-11-08 22:02 ` Edward Cree
2024-11-08 22:32 ` Stephen Hemminger
2024-10-28 21:35 ` [PATCH net-next 02/12] net: homa: define Homa packet formats John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 03/12] net: homa: create shared Homa header files John Ousterhout
2024-10-29 6:47 ` kernel test robot
2024-11-02 19:39 ` John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 04/12] net: homa: create homa_pool.h and homa_pool.c John Ousterhout
2024-10-30 0:09 ` Andrew Lunn
2024-10-30 4:15 ` John Ousterhout
2024-10-30 12:54 ` Andrew Lunn
2024-10-30 15:48 ` John Ousterhout
2024-11-04 13:12 ` Przemek Kitszel
2024-11-04 23:57 ` John Ousterhout
[not found] ` <CAGXJAmyLsx9DPGdhZwPxn0wXjFAFV3dqjhFHpaBLtKZ1mtYBSQ@mail.gmail.com>
[not found] ` <16f2e9cc-9b5e-4325-b5c7-fe7fd72600a8@lunn.ch>
2024-10-30 20:13 ` John Ousterhout
2024-10-30 20:17 ` John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 05/12] net: homa: create homa_rpc.h and homa_rpc.c John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 06/12] net: homa: create homa_peer.h and homa_peer.c John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 07/12] net: homa: create homa_sock.h and homa_sock.c John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 08/12] net: homa: create homa_incoming.c John Ousterhout
2024-10-30 1:13 ` Andrew Lunn
2024-10-30 4:51 ` John Ousterhout
2024-10-30 13:06 ` Andrew Lunn
2024-10-30 15:49 ` John Ousterhout
2024-10-30 18:23 ` Eric Dumazet
2024-10-30 18:33 ` John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 09/12] net: homa: create homa_outgoing.c John Ousterhout
2024-10-30 0:42 ` Andrew Lunn
2024-10-30 4:30 ` John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 10/12] net: homa: create homa_timer.c John Ousterhout
2024-10-30 19:02 ` Eric Dumazet
2024-10-31 18:55 ` John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 11/12] net: homa: create homa_plumbing.c homa_utils.c John Ousterhout
2024-10-30 1:03 ` Andrew Lunn
2024-10-28 21:35 ` [PATCH net-next 12/12] net: homa: create Makefile and Kconfig John Ousterhout
2024-10-29 14:00 ` kernel test robot [this message]
2024-10-29 14:21 ` kernel test robot
2024-10-29 18:42 ` kernel test robot
2024-10-30 1:09 ` kernel test robot
2024-11-03 0:11 ` John Ousterhout
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=202410292151.ozZhCbRL-lkp@intel.com \
--to=lkp@intel.com \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ouster@cs.stanford.edu \
/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.