[peterz-queue:x86/wip.extable 20/22] arch/x86/lib/usercopy_32.c:96:2: error: invalid 'asm': operand number missing after %-letter
From: kernel test robot
Date: Fri Nov 05 2021 - 10:22:18 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/wip.extable
head: a4d149db054a77aa35b04bb088f749cbb9a2edea
commit: a8a8d7681815f3b4f6302e00cb92cdbcb1bfc4b7 [20/22] x86,usercopy: Remove .fixup usage
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=a8a8d7681815f3b4f6302e00cb92cdbcb1bfc4b7
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue x86/wip.extable
git checkout a8a8d7681815f3b4f6302e00cb92cdbcb1bfc4b7
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
arch/x86/lib/usercopy_32.c: In function '__copy_user_intel':
>> arch/x86/lib/usercopy_32.c:96:2: error: invalid 'asm': operand number missing after %-letter
96 | __asm__ __volatile__(
| ^~~~~~~
vim +/asm +96 arch/x86/lib/usercopy_32.c
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 90
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 91 #ifdef CONFIG_X86_INTEL_USERCOPY
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 92 static unsigned long
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 93 __copy_user_intel(void __user *to, const void *from, unsigned long size)
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 94 {
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 95 int d0, d1;
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 @96 __asm__ __volatile__(
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 97 " .align 2,0x90\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 98 "1: movl 32(%4), %%eax\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 99 " cmpl $67, %0\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 100 " jbe 3f\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 101 "2: movl 64(%4), %%eax\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 102 " .align 2,0x90\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 103 "3: movl 0(%4), %%eax\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 104 "4: movl 4(%4), %%edx\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 105 "5: movl %%eax, 0(%3)\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 106 "6: movl %%edx, 4(%3)\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 107 "7: movl 8(%4), %%eax\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 108 "8: movl 12(%4),%%edx\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 109 "9: movl %%eax, 8(%3)\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 110 "10: movl %%edx, 12(%3)\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 111 "11: movl 16(%4), %%eax\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 112 "12: movl 20(%4), %%edx\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 113 "13: movl %%eax, 16(%3)\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 114 "14: movl %%edx, 20(%3)\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 115 "15: movl 24(%4), %%eax\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 116 "16: movl 28(%4), %%edx\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 117 "17: movl %%eax, 24(%3)\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 118 "18: movl %%edx, 28(%3)\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 119 "19: movl 32(%4), %%eax\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 120 "20: movl 36(%4), %%edx\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 121 "21: movl %%eax, 32(%3)\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 122 "22: movl %%edx, 36(%3)\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 123 "23: movl 40(%4), %%eax\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 124 "24: movl 44(%4), %%edx\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 125 "25: movl %%eax, 40(%3)\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 126 "26: movl %%edx, 44(%3)\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 127 "27: movl 48(%4), %%eax\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 128 "28: movl 52(%4), %%edx\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 129 "29: movl %%eax, 48(%3)\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 130 "30: movl %%edx, 52(%3)\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 131 "31: movl 56(%4), %%eax\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 132 "32: movl 60(%4), %%edx\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 133 "33: movl %%eax, 56(%3)\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 134 "34: movl %%edx, 60(%3)\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 135 " addl $-64, %0\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 136 " addl $64, %4\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 137 " addl $64, %3\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 138 " cmpl $63, %0\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 139 " ja 1b\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 140 "35: movl %0, %%eax\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 141 " shrl $2, %0\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 142 " andl $3, %%eax\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 143 " cld\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 144 "99: rep; movsl\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 145 "36: movl %%eax, %0\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 146 "37: rep; movsb\n"
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 147 "100:\n"
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 148 _ASM_EXTABLE_UA(1b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 149 _ASM_EXTABLE_UA(2b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 150 _ASM_EXTABLE_UA(3b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 151 _ASM_EXTABLE_UA(4b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 152 _ASM_EXTABLE_UA(5b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 153 _ASM_EXTABLE_UA(6b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 154 _ASM_EXTABLE_UA(7b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 155 _ASM_EXTABLE_UA(8b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 156 _ASM_EXTABLE_UA(9b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 157 _ASM_EXTABLE_UA(10b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 158 _ASM_EXTABLE_UA(11b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 159 _ASM_EXTABLE_UA(12b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 160 _ASM_EXTABLE_UA(13b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 161 _ASM_EXTABLE_UA(14b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 162 _ASM_EXTABLE_UA(15b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 163 _ASM_EXTABLE_UA(16b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 164 _ASM_EXTABLE_UA(17b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 165 _ASM_EXTABLE_UA(18b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 166 _ASM_EXTABLE_UA(19b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 167 _ASM_EXTABLE_UA(20b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 168 _ASM_EXTABLE_UA(21b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 169 _ASM_EXTABLE_UA(22b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 170 _ASM_EXTABLE_UA(23b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 171 _ASM_EXTABLE_UA(24b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 172 _ASM_EXTABLE_UA(25b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 173 _ASM_EXTABLE_UA(26b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 174 _ASM_EXTABLE_UA(27b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 175 _ASM_EXTABLE_UA(28b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 176 _ASM_EXTABLE_UA(29b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 177 _ASM_EXTABLE_UA(30b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 178 _ASM_EXTABLE_UA(31b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 179 _ASM_EXTABLE_UA(32b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 180 _ASM_EXTABLE_UA(33b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 181 _ASM_EXTABLE_UA(34b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 182 _ASM_EXTABLE_UA(35b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 183 _ASM_EXTABLE_UA(36b, 100b)
75045f77f7a73e61 arch/x86/lib/usercopy_32.c Jann Horn 2018-08-28 184 _ASM_EXTABLE_UA(37b, 100b)
a8a8d7681815f3b4 arch/x86/lib/usercopy_32.c Peter Zijlstra 2021-11-04 185 _ASM_EXTABLE_TYPE_REG(99b, 100b, EX_TYPE_UACCESS_LEN4, %eax)
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 186 : "=&c"(size), "=&D" (d0), "=&S" (d1)
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 187 : "1"(to), "2"(from), "0"(size)
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 188 : "eax", "edx", "memory");
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 189 return size;
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 190 }
^1da177e4c3f4152 arch/i386/lib/usercopy.c Linus Torvalds 2005-04-16 191
:::::: The code at line 96 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip