oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH net-next v2 1/7] overflow: add DEFINE_FLEX() for on-stack allocs
       [not found] <20230811120814.169952-2-przemyslaw.kitszel@intel.com>
@ 2023-08-11 14:10 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-11 14:10 UTC (permalink / raw)
  To: Przemek Kitszel, Kees Cook, netdev
  Cc: oe-kbuild-all, Jacob Keller, intel-wired-lan, Alexander Lobakin,
	linux-hardening, Steven Zou, Przemek Kitszel

Hi Przemek,

kernel test robot noticed the following build errors:

[auto build test ERROR on 6a1ed1430daa2ccf8ac457e0db93fb0925b801ca]

url:    https://github.com/intel-lab-lkp/linux/commits/Przemek-Kitszel/overflow-add-DEFINE_FLEX-for-on-stack-allocs/20230811-201509
base:   6a1ed1430daa2ccf8ac457e0db93fb0925b801ca
patch link:    https://lore.kernel.org/r/20230811120814.169952-2-przemyslaw.kitszel%40intel.com
patch subject: [PATCH net-next v2 1/7] overflow: add DEFINE_FLEX() for on-stack allocs
config: m68k-randconfig-r024-20230811 (https://download.01.org/0day-ci/archive/20230811/202308112122.OuF0YZqL-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230811/202308112122.OuF0YZqL-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/202308112122.OuF0YZqL-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/compiler.h:5,
                    from include/linux/export.h:5,
                    from include/asm-generic/export.h:9,
                    from ./arch/m68k/include/generated/asm/export.h:1,
                    from arch/m68k/lib/mulsi3.S:35:
>> include/linux/compiler_types.h:331:5: warning: "__has_builtin" is not defined, evaluates to 0 [-Wundef]
     331 | #if __has_builtin(__builtin_dynamic_object_size)
         |     ^~~~~~~~~~~~~
>> include/linux/compiler_types.h:331:18: error: missing binary operator before token "("
     331 | #if __has_builtin(__builtin_dynamic_object_size)
         |                  ^


vim +331 include/linux/compiler_types.h

   326	
   327	/*
   328	 * When the size of an allocated object is needed, use the best available
   329	 * mechanism to find it. (For cases where sizeof() cannot be used.)
   330	 */
 > 331	#if __has_builtin(__builtin_dynamic_object_size)
   332	#define __struct_size(p)	__builtin_dynamic_object_size(p, 0)
   333	#define __member_size(p)	__builtin_dynamic_object_size(p, 1)
   334	#else
   335	#define __struct_size(p)	__builtin_object_size(p, 0)
   336	#define __member_size(p)	__builtin_object_size(p, 1)
   337	#endif
   338	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-11 14:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230811120814.169952-2-przemyslaw.kitszel@intel.com>
2023-08-11 14:10 ` [PATCH net-next v2 1/7] overflow: add DEFINE_FLEX() for on-stack allocs kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).