public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Marco Elver <elver@google.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: [linux-next:master 8173/8441] include/linux/list.h:53:13: error: '__preserve_most__' calling convention is not supported for this target
Date: Wed, 9 Aug 2023 21:05:39 +0800	[thread overview]
Message-ID: <202308092009.dDIMqss4-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-08-09 13:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202308092009.dDIMqss4-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=elver@google.com \
    --cc=linux-mm@kvack.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox