public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [linux-next:master 8173/8441] include/linux/list.h:53:13: error: '__preserve_most__' calling convention is not supported for this target
@ 2023-08-09 13:05 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-09 13:05 UTC (permalink / raw)
  To: Marco Elver
  Cc: llvm, oe-kbuild-all, Linux Memory Management List, Andrew Morton

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   21ef7b1e17d039053edaeaf41142423810572741
commit: fee8feb67f0b2954eb7a2a259122e43a15cf3a52 [8173/8441] list_debug: introduce CONFIG_DEBUG_LIST_MINIMAL
config: arm-randconfig-r005-20230809 (https://download.01.org/0day-ci/archive/20230809/202308092009.dDIMqss4-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce: (https://download.01.org/0day-ci/archive/20230809/202308092009.dDIMqss4-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/202308092009.dDIMqss4-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/tilcdc/tilcdc_external.c:10:
   In file included from include/drm/drm_atomic_helper.h:31:
   In file included from include/drm/drm_crtc.h:28:
   In file included from include/linux/spinlock.h:56:
   In file included from include/linux/preempt.h:12:
>> include/linux/list.h:53:13: error: '__preserve_most__' calling convention is not supported for this target [-Werror,-Wignored-attributes]
      53 | extern bool __list_valid_slowpath __list_add_valid_or_report(struct list_head *new,
         |             ^
   include/linux/list.h:44:39: note: expanded from macro '__list_valid_slowpath'
      44 | # define __list_valid_slowpath __cold __preserve_most
         |                                       ^
   include/linux/compiler_types.h:132:49: note: expanded from macro '__preserve_most'
     132 | # define __preserve_most notrace __attribute__((__preserve_most__))
         |                                                 ^
   In file included from drivers/gpu/drm/tilcdc/tilcdc_external.c:10:
   In file included from include/drm/drm_atomic_helper.h:31:
   In file included from include/drm/drm_crtc.h:28:
   In file included from include/linux/spinlock.h:56:
   In file included from include/linux/preempt.h:12:
   include/linux/list.h:96:13: error: '__preserve_most__' calling convention is not supported for this target [-Werror,-Wignored-attributes]
      96 | extern bool __list_valid_slowpath __list_del_entry_valid_or_report(struct list_head *entry);
         |             ^
   include/linux/list.h:44:39: note: expanded from macro '__list_valid_slowpath'
      44 | # define __list_valid_slowpath __cold __preserve_most
         |                                       ^
   include/linux/compiler_types.h:132:49: note: expanded from macro '__preserve_most'
     132 | # define __preserve_most notrace __attribute__((__preserve_most__))
         |                                                 ^
   2 errors generated.


vim +/__preserve_most__ +53 include/linux/list.h

    48	
    49	/*
    50	 * Performs the full set of list corruption checks before __list_add().
    51	 * On list corruption reports a warning, and returns false.
    52	 */
  > 53	extern bool __list_valid_slowpath __list_add_valid_or_report(struct list_head *new,
    54								     struct list_head *prev,
    55								     struct list_head *next);
    56	

-- 
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-09 13:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-09 13:05 [linux-next:master 8173/8441] include/linux/list.h:53:13: error: '__preserve_most__' calling convention is not supported for this target 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