[linux-next:master 1536/6975] fs/bcachefs/replicas.c:25:52: error: builtin functions must be directly called

[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:   940fcc189c51032dd0282cbee4497542c982ac59
commit: e0750d9473522d076b33ee257a21e27a5dd75031 [1536/6975] bcachefs: Initial commit
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20230922/202309220650.uaIwHLV4-lkp@xxxxxxxxx/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@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/202309220650.uaIwHLV4-lkp@xxxxxxxxx/

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




[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