[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202507050104.p9sjOlBX-lkp@intel.com>
Date: Sat, 5 Jul 2025 01:30:24 +0800
From: kernel test robot <lkp@...el.com>
To: John Ousterhout <ouster@...stanford.edu>, netdev@...r.kernel.org
Cc: 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 v10 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/20250703-113049
base: net-next/main
patch link: https://lore.kernel.org/r/20250703031445.569-16-ouster%40cs.stanford.edu
patch subject: [PATCH net-next v10 15/15] net: homa: create Makefile and Kconfig
config: arc-allmodconfig (https://download.01.org/0day-ci/archive/20250705/202507050104.p9sjOlBX-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250705/202507050104.p9sjOlBX-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/202507050104.p9sjOlBX-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from <command-line>:
net/homa/homa_plumbing.c: In function 'homa_load':
>> include/linux/compiler_types.h:568:45: error: call to '__compiletime_assert_981' declared with attribute error: BUILD_BUG_ON failed: sizeof(struct homa_recvmsg_args) != 88
568 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
include/linux/compiler_types.h:549:25: note: in definition of macro '__compiletime_assert'
549 | prefix ## suffix(); \
| ^~~~~~
include/linux/compiler_types.h:568:9: note: in expansion of macro '_compiletime_assert'
568 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
net/homa/homa_plumbing.c:216:9: note: in expansion of macro 'BUILD_BUG_ON'
216 | BUILD_BUG_ON(sizeof(struct homa_recvmsg_args) != 88);
| ^~~~~~~~~~~~
vim +/__compiletime_assert_981 +568 include/linux/compiler_types.h
eb5c2d4b45e3d2 Will Deacon 2020-07-21 554
eb5c2d4b45e3d2 Will Deacon 2020-07-21 555 #define _compiletime_assert(condition, msg, prefix, suffix) \
eb5c2d4b45e3d2 Will Deacon 2020-07-21 556 __compiletime_assert(condition, msg, prefix, suffix)
eb5c2d4b45e3d2 Will Deacon 2020-07-21 557
eb5c2d4b45e3d2 Will Deacon 2020-07-21 558 /**
eb5c2d4b45e3d2 Will Deacon 2020-07-21 559 * compiletime_assert - break build and emit msg if condition is false
eb5c2d4b45e3d2 Will Deacon 2020-07-21 560 * @condition: a compile-time constant condition to check
eb5c2d4b45e3d2 Will Deacon 2020-07-21 561 * @msg: a message to emit if condition is false
eb5c2d4b45e3d2 Will Deacon 2020-07-21 562 *
eb5c2d4b45e3d2 Will Deacon 2020-07-21 563 * In tradition of POSIX assert, this macro will break the build if the
eb5c2d4b45e3d2 Will Deacon 2020-07-21 564 * supplied condition is *false*, emitting the supplied error message if the
eb5c2d4b45e3d2 Will Deacon 2020-07-21 565 * compiler has support to do so.
eb5c2d4b45e3d2 Will Deacon 2020-07-21 566 */
eb5c2d4b45e3d2 Will Deacon 2020-07-21 567 #define compiletime_assert(condition, msg) \
eb5c2d4b45e3d2 Will Deacon 2020-07-21 @568 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
eb5c2d4b45e3d2 Will Deacon 2020-07-21 569
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists