[linux-next:master 8173/8441] include/linux/list.h:53:13: error: '__preserve_most__' calling convention is not supported for this target

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/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@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308092009.dDIMqss4-lkp@xxxxxxxxx/

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux