public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* Re: [PATCH v3 4/4] tracing: move tracing declarations from kernel.h to a dedicated header
       [not found] <20251205175237.242022-5-yury.norov@gmail.com>
@ 2025-12-06 17:30 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-06 17:30 UTC (permalink / raw)
  To: Yury Norov (NVIDIA); +Cc: llvm, oe-kbuild-all

Hi Yury,

kernel test robot noticed the following build errors:

[auto build test ERROR on drm-i915/for-linux-next]
[also build test ERROR on drm-i915/for-linux-next-fixes driver-core/driver-core-testing driver-core/driver-core-next driver-core/driver-core-linus linus/master v6.18 next-20251205]
[cannot apply to mcgrof/modules-next]
[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/Yury-Norov-NVIDIA/kernel-h-drop-STACK_MAGIC-macro/20251206-015505
base:   https://gitlab.freedesktop.org/drm/i915/kernel.git for-linux-next
patch link:    https://lore.kernel.org/r/20251205175237.242022-5-yury.norov%40gmail.com
patch subject: [PATCH v3 4/4] tracing: move tracing declarations from kernel.h to a dedicated header
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20251207/202512070100.XPSKmmIG-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251207/202512070100.XPSKmmIG-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/202512070100.XPSKmmIG-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/x86/purgatory/purgatory.c:18:
>> arch/x86/purgatory/../boot/string.h:11:7: error: expected identifier or '('
      11 | void *memmove(void *dst, const void *src, size_t len);
         |       ^
   include/linux/fortify-string.h:694:27: note: expanded from macro 'memmove'
     694 | #define memmove(p, q, s)  __fortify_memcpy_chk(p, q, s,                 \
         |                           ^
   include/linux/fortify-string.h:626:42: note: expanded from macro '__fortify_memcpy_chk'
     626 |                              p_size_field, q_size_field, op) ({         \
         |                                                               ^
   In file included from arch/x86/purgatory/purgatory.c:18:
>> arch/x86/purgatory/../boot/string.h:11:7: error: expected ')'
   include/linux/fortify-string.h:694:27: note: expanded from macro 'memmove'
     694 | #define memmove(p, q, s)  __fortify_memcpy_chk(p, q, s,                 \
         |                           ^
   include/linux/fortify-string.h:626:42: note: expanded from macro '__fortify_memcpy_chk'
     626 |                              p_size_field, q_size_field, op) ({         \
         |                                                               ^
   arch/x86/purgatory/../boot/string.h:11:7: note: to match this '('
   include/linux/fortify-string.h:694:27: note: expanded from macro 'memmove'
     694 | #define memmove(p, q, s)  __fortify_memcpy_chk(p, q, s,                 \
         |                           ^
   include/linux/fortify-string.h:626:41: note: expanded from macro '__fortify_memcpy_chk'
     626 |                              p_size_field, q_size_field, op) ({         \
         |                                                              ^
   In file included from arch/x86/purgatory/purgatory.c:18:
   arch/x86/purgatory/../boot/string.h:23:15: error: expected identifier or '('
      23 | extern size_t strlen(const char *s);
         |               ^
   include/linux/fortify-string.h:258:2: note: expanded from macro 'strlen'
     258 |         __builtin_choose_expr(__is_constexpr(__builtin_strlen(p)),      \
         |         ^
   3 errors generated.


vim +11 arch/x86/purgatory/../boot/string.h

c041b5ad8640dd Vivek Goyal 2014-03-18   9  
c041b5ad8640dd Vivek Goyal 2014-03-18  10  void *memcpy(void *dst, const void *src, size_t len);
bc7aaf52f96367 Kees Cook   2021-11-19 @11  void *memmove(void *dst, const void *src, size_t len);
c041b5ad8640dd Vivek Goyal 2014-03-18  12  void *memset(void *dst, int c, size_t len);
fb4cac573ef6dc Vivek Goyal 2014-03-18  13  int memcmp(const void *s1, const void *s2, size_t len);
bc7aaf52f96367 Kees Cook   2021-11-19  14  int bcmp(const void *s1, const void *s2, size_t len);
c041b5ad8640dd Vivek Goyal 2014-03-18  15  

-- 
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:[~2025-12-06 17:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20251205175237.242022-5-yury.norov@gmail.com>
2025-12-06 17:30 ` [PATCH v3 4/4] tracing: move tracing declarations from kernel.h to a dedicated header 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