linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kent Overstreet <kmo@daterainc.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 1536/6975] fs/bcachefs/replicas.c:25:52: error: builtin functions must be directly called
Date: Fri, 22 Sep 2023 06:56:53 +0800	[thread overview]
Message-ID: <202309220650.uaIwHLV4-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   940fcc189c51032dd0282cbee4497542c982ac59
commit: e0750d9473522d076b33ee257a21e27a5dd75031 [1536/6975] bcachefs: Initial commit
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20230922/202309220650.uaIwHLV4-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230922/202309220650.uaIwHLV4-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/202309220650.uaIwHLV4-lkp@intel.com/

All errors (new ones prefixed by >>):

>> fs/bcachefs/replicas.c:25:52: error: builtin functions must be directly called
           eytzinger0_sort(r->entries, r->nr, r->entry_size, memcmp, NULL);
                                                             ^
   arch/x86/include/asm/string_32.h:159:16: note: expanded from macro 'memcmp'
   #define memcmp __builtin_memcmp
                  ^
   fs/bcachefs/replicas.c:165:5: error: builtin functions must be directly called
                                   memcmp, &search) < r->nr;
                                   ^
   arch/x86/include/asm/string_32.h:159:16: note: expanded from macro 'memcmp'
   #define memcmp __builtin_memcmp
                  ^
   fs/bcachefs/replicas.c:499:9: error: builtin functions must be directly called
                         memcmp, NULL);
                         ^
   arch/x86/include/asm/string_32.h:159:16: note: expanded from macro 'memcmp'
   #define memcmp __builtin_memcmp
                  ^
   3 errors generated.


vim +25 fs/bcachefs/replicas.c

    22	
    23	static void bch2_cpu_replicas_sort(struct bch_replicas_cpu *r)
    24	{
  > 25		eytzinger0_sort(r->entries, r->nr, r->entry_size, memcmp, NULL);
    26	}
    27	

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


                 reply	other threads:[~2023-09-21 22:57 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=202309220650.uaIwHLV4-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kmo@daterainc.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