tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 288736c822de7fd3b69be317c11eaa8dfb78bf6f commit: 2163db2aabf55033fca1637ff633f9c1f5fc8b31 [2099/2429] bcachefs: Inline btree write buffer sort config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20231123/202311230137.gpCHK9z4-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/20231123/202311230137.gpCHK9z4-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/202311230137.gpCHK9z4-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): >> fs/bcachefs/btree_write_buffer.c:32:6: error: unknown token in expression asm(".intel_syntax noprefix;" ^ <inline asm>:1:35: note: instantiated into assembly here .intel_syntax noprefix;mov rax, [%rdx];sub rax, [%rcx];mov rax, [%rdx + 8];sbb rax, [%rcx + 8];mov rax, [%rdx + 16];sbb rax, [%rcx + 16];.att_syntax prefix; ^ >> fs/bcachefs/btree_write_buffer.c:32:6: error: unknown token in expression asm(".intel_syntax noprefix;" ^ <inline asm>:1:51: note: instantiated into assembly here .intel_syntax noprefix;mov rax, [%rdx];sub rax, [%rcx];mov rax, [%rdx + 8];sbb rax, [%rcx + 8];mov rax, [%rdx + 16];sbb rax, [%rcx + 16];.att_syntax prefix; ^ >> fs/bcachefs/btree_write_buffer.c:32:6: error: unknown token in expression asm(".intel_syntax noprefix;" ^ <inline asm>:1:67: note: instantiated into assembly here .intel_syntax noprefix;mov rax, [%rdx];sub rax, [%rcx];mov rax, [%rdx + 8];sbb rax, [%rcx + 8];mov rax, [%rdx + 16];sbb rax, [%rcx + 16];.att_syntax prefix; ^ >> fs/bcachefs/btree_write_buffer.c:32:6: error: unknown token in expression asm(".intel_syntax noprefix;" ^ <inline asm>:1:87: note: instantiated into assembly here .intel_syntax noprefix;mov rax, [%rdx];sub rax, [%rcx];mov rax, [%rdx + 8];sbb rax, [%rcx + 8];mov rax, [%rdx + 16];sbb rax, [%rcx + 16];.att_syntax prefix; ^ >> fs/bcachefs/btree_write_buffer.c:32:6: error: unknown token in expression asm(".intel_syntax noprefix;" ^ <inline asm>:1:107: note: instantiated into assembly here .intel_syntax noprefix;mov rax, [%rdx];sub rax, [%rcx];mov rax, [%rdx + 8];sbb rax, [%rcx + 8];mov rax, [%rdx + 16];sbb rax, [%rcx + 16];.att_syntax prefix; ^ >> fs/bcachefs/btree_write_buffer.c:32:6: error: unknown token in expression asm(".intel_syntax noprefix;" ^ <inline asm>:1:128: note: instantiated into assembly here .intel_syntax noprefix;mov rax, [%rdx];sub rax, [%rcx];mov rax, [%rdx + 8];sbb rax, [%rcx + 8];mov rax, [%rdx + 16];sbb rax, [%rcx + 16];.att_syntax prefix; ^ >> fs/bcachefs/btree_write_buffer.c:32:6: error: unknown token in expression asm(".intel_syntax noprefix;" ^ <inline asm>:1:35: note: instantiated into assembly here .intel_syntax noprefix;mov rax, [%r14];sub rax, [%r15];mov rax, [%r14 + 8];sbb rax, [%r15 + 8];mov rax, [%r14 + 16];sbb rax, [%r15 + 16];.att_syntax prefix; ^ >> fs/bcachefs/btree_write_buffer.c:32:6: error: unknown token in expression asm(".intel_syntax noprefix;" ^ <inline asm>:1:51: note: instantiated into assembly here .intel_syntax noprefix;mov rax, [%r14];sub rax, [%r15];mov rax, [%r14 + 8];sbb rax, [%r15 + 8];mov rax, [%r14 + 16];sbb rax, [%r15 + 16];.att_syntax prefix; ^ >> fs/bcachefs/btree_write_buffer.c:32:6: error: unknown token in expression asm(".intel_syntax noprefix;" ^ <inline asm>:1:67: note: instantiated into assembly here .intel_syntax noprefix;mov rax, [%r14];sub rax, [%r15];mov rax, [%r14 + 8];sbb rax, [%r15 + 8];mov rax, [%r14 + 16];sbb rax, [%r15 + 16];.att_syntax prefix; ^ >> fs/bcachefs/btree_write_buffer.c:32:6: error: unknown token in expression asm(".intel_syntax noprefix;" ^ <inline asm>:1:87: note: instantiated into assembly here .intel_syntax noprefix;mov rax, [%r14];sub rax, [%r15];mov rax, [%r14 + 8];sbb rax, [%r15 + 8];mov rax, [%r14 + 16];sbb rax, [%r15 + 16];.att_syntax prefix; ^ >> fs/bcachefs/btree_write_buffer.c:32:6: error: unknown token in expression asm(".intel_syntax noprefix;" ^ <inline asm>:1:107: note: instantiated into assembly here .intel_syntax noprefix;mov rax, [%r14];sub rax, [%r15];mov rax, [%r14 + 8];sbb rax, [%r15 + 8];mov rax, [%r14 + 16];sbb rax, [%r15 + 16];.att_syntax prefix; ^ >> fs/bcachefs/btree_write_buffer.c:32:6: error: unknown token in expression asm(".intel_syntax noprefix;" ^ <inline asm>:1:128: note: instantiated into assembly here .intel_syntax noprefix;mov rax, [%r14];sub rax, [%r15];mov rax, [%r14 + 8];sbb rax, [%r15 + 8];mov rax, [%r14 + 16];sbb rax, [%r15 + 16];.att_syntax prefix; ^ 12 errors generated. vim +32 fs/bcachefs/btree_write_buffer.c 26 27 static inline bool wb_key_cmp(const struct wb_key_ref *l, const struct wb_key_ref *r) 28 { 29 #ifdef CONFIG_X86_64 30 int cmp; 31 > 32 asm(".intel_syntax noprefix;" 33 "mov rax, [%[l]];" 34 "sub rax, [%[r]];" 35 "mov rax, [%[l] + 8];" 36 "sbb rax, [%[r] + 8];" 37 "mov rax, [%[l] + 16];" 38 "sbb rax, [%[r] + 16];" 39 ".att_syntax prefix;" 40 : "=@ccae" (cmp) 41 : [l] "r" (l), [r] "r" (r) 42 : "rax", "cc"); 43 44 EBUG_ON(cmp != __wb_key_cmp(l, r)); 45 return cmp; 46 #else 47 return __wb_key_cmp(l, r); 48 #endif 49 } 50 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki