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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202507151339.DEc1Vydw-lkp@intel.com>
Date: Tue, 15 Jul 2025 13:34:00 +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 v11 15/15] net: homa: create Makefile and Kconfig

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/20250714-130009
base:   net-next/main
patch link:    https://lore.kernel.org/r/20250714044448.254-16-ouster%40cs.stanford.edu
patch subject: [PATCH net-next v11 15/15] net: homa: create Makefile and Kconfig
config: um-allmodconfig (https://download.01.org/0day-ci/archive/20250715/202507151339.DEc1Vydw-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/20250715/202507151339.DEc1Vydw-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/202507151339.DEc1Vydw-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:529:9: error: use of undeclared identifier 'cpu_khz'
     529 |         return cpu_khz;
         |                ^
   net/homa/homa_impl.h:546:13: error: use of undeclared identifier 'cpu_khz'
     546 |         tmp = ns * cpu_khz;
         |                    ^
   net/homa/homa_impl.h:565:16: error: use of undeclared identifier 'cpu_khz'
     565 |         tmp = usecs * cpu_khz;
         |                       ^
   1 warning and 3 errors generated.


vim +/cpu_khz +529 net/homa/homa_impl.h

9ce7b7d7321e0e John Ousterhout 2025-07-13  520  
9ce7b7d7321e0e John Ousterhout 2025-07-13  521  /**
9ce7b7d7321e0e John Ousterhout 2025-07-13  522   * homa_clock_khz() - Return the frequency of the values returned by
9ce7b7d7321e0e John Ousterhout 2025-07-13  523   * homa_clock, in units of KHz.
9ce7b7d7321e0e John Ousterhout 2025-07-13  524   * Return: see above.
9ce7b7d7321e0e John Ousterhout 2025-07-13  525   */
9ce7b7d7321e0e John Ousterhout 2025-07-13  526  static inline u64 homa_clock_khz(void)
9ce7b7d7321e0e John Ousterhout 2025-07-13  527  {
9ce7b7d7321e0e John Ousterhout 2025-07-13  528  #ifdef CONFIG_X86_TSC
9ce7b7d7321e0e John Ousterhout 2025-07-13 @529  	return cpu_khz;
9ce7b7d7321e0e John Ousterhout 2025-07-13  530  #else
9ce7b7d7321e0e John Ousterhout 2025-07-13  531  	return 1000000;
9ce7b7d7321e0e John Ousterhout 2025-07-13  532  #endif /* CONFIG_X86_TSC */
9ce7b7d7321e0e John Ousterhout 2025-07-13  533  }
9ce7b7d7321e0e John Ousterhout 2025-07-13  534  

-- 
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