[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202507270639.OBQsePz1-lkp@intel.com>
Date: Sun, 27 Jul 2025 06:41:06 +0800
From: kernel test robot <lkp@...el.com>
To: John Ousterhout <ouster@...stanford.edu>, netdev@...r.kernel.org
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev, pabeni@...hat.com,
edumazet@...gle.com, horms@...nel.org, kuba@...nel.org,
John Ousterhout <ouster@...stanford.edu>
Subject: Re: [PATCH net-next v12 15/15] net: homa: create Makefile and Kconfig
Hi John,
kernel test robot noticed the following build errors:
[auto build test ERROR on net/main]
[also build test ERROR on linus/master v6.16-rc7 next-20250725]
[cannot apply to net-next/main 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/John-Ousterhout/net-homa-define-user-visible-API-for-Homa/20250725-024511
base: net/main
patch link: https://lore.kernel.org/r/20250724184050.3130-16-ouster%40cs.stanford.edu
patch subject: [PATCH net-next v12 15/15] net: homa: create Makefile and Kconfig
config: um-allmodconfig (https://download.01.org/0day-ci/archive/20250727/202507270639.OBQsePz1-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250727/202507270639.OBQsePz1-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/202507270639.OBQsePz1-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from net/homa/homa_incoming.c:5:
In file included from net/homa/homa_impl.h:13:
In file included from include/linux/icmp.h:16:
In file included from include/linux/skbuff.h:17:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:12:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:5:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:12:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:1175:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
1175 | return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port;
| ~~~~~~~~~~ ^
In file included from net/homa/homa_incoming.c:5:
>> net/homa/homa_impl.h:557:9: error: use of undeclared identifier 'tsc_khz'
557 | return tsc_khz;
| ^
1 warning and 1 error generated.
vim +/tsc_khz +557 net/homa/homa_impl.h
4d2ad8007f1c33 John Ousterhout 2025-07-24 548
4d2ad8007f1c33 John Ousterhout 2025-07-24 549 /**
4d2ad8007f1c33 John Ousterhout 2025-07-24 550 * homa_clock_khz() - Return the frequency of the values returned by
4d2ad8007f1c33 John Ousterhout 2025-07-24 551 * homa_clock, in units of KHz.
4d2ad8007f1c33 John Ousterhout 2025-07-24 552 * Return: see above.
4d2ad8007f1c33 John Ousterhout 2025-07-24 553 */
4d2ad8007f1c33 John Ousterhout 2025-07-24 554 static inline u64 homa_clock_khz(void)
4d2ad8007f1c33 John Ousterhout 2025-07-24 555 {
4d2ad8007f1c33 John Ousterhout 2025-07-24 556 #ifdef CONFIG_X86_TSC
4d2ad8007f1c33 John Ousterhout 2025-07-24 @557 return tsc_khz;
4d2ad8007f1c33 John Ousterhout 2025-07-24 558 #else
4d2ad8007f1c33 John Ousterhout 2025-07-24 559 return 1000000;
4d2ad8007f1c33 John Ousterhout 2025-07-24 560 #endif /* CONFIG_X86_TSC */
4d2ad8007f1c33 John Ousterhout 2025-07-24 561 }
4d2ad8007f1c33 John Ousterhout 2025-07-24 562
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists