lkml.org 
[lkml]   [2023]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectfs/bcachefs/replicas.c:25:52: error: builtin functions must be directly called
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 98b1cc82c4affc16f5598d4fa14b1858671b2263
commit: 1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a bcachefs: Initial commit
date: 4 weeks ago
config: i386-buildonly-randconfig-006-20231120 (https://download.01.org/0day-ci/archive/20231120/202311201620.mhbq1YMe-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/20231120/202311201620.mhbq1YMe-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/202311201620.mhbq1YMe-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

\
 
 \ /
  Last update: 2023-11-20 14:05    [W:0.023 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site