Re: [PATCH] x86_32: add support for 64 bit __get_user()

From: kbuild test robot
Date: Wed Mar 09 2016 - 13:19:21 EST


Hi Benjamin,

[auto build test ERROR on tip/x86/core]
[also build test ERROR on v4.5-rc7 next-20160309]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Benjamin-LaHaise/x86_32-add-support-for-64-bit-__get_user/20160310-012551
config: x86_64-alldefconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

fs/select.c: Assembler messages:
>> fs/select.c:710: Error: operand type mismatch for `movq'
>> fs/select.c:714: Error: incorrect register `%cx' used with `q' suffix
fs/select.c:711: Error: operand type mismatch for `movq'
>> fs/select.c:715: Error: incorrect register `%si' used with `q' suffix
--
fs/aio.c: Assembler messages:
>> fs/aio.c:1606: Error: operand type mismatch for `movq'
>> fs/aio.c:1610: Error: incorrect register `%si' used with `q' suffix

vim +710 fs/select.c

9f72949f David Woodhouse 2006-01-18 704 size_t sigsetsize = 0;
9f72949f David Woodhouse 2006-01-18 705 sigset_t __user *up = NULL;
9f72949f David Woodhouse 2006-01-18 706
9f72949f David Woodhouse 2006-01-18 707 if (sig) {
9f72949f David Woodhouse 2006-01-18 708 if (!access_ok(VERIFY_READ, sig, sizeof(void *)+sizeof(size_t))
e110ab94 Al Viro 2006-02-01 709 || __get_user(up, (sigset_t __user * __user *)sig)
9f72949f David Woodhouse 2006-01-18 @710 || __get_user(sigsetsize,
e110ab94 Al Viro 2006-02-01 711 (size_t __user *)(sig+sizeof(void *))))
9f72949f David Woodhouse 2006-01-18 712 return -EFAULT;
9f72949f David Woodhouse 2006-01-18 713 }
9f72949f David Woodhouse 2006-01-18 @714
c9da9f21 Heiko Carstens 2009-01-14 @715 return do_pselect(n, inp, outp, exp, tsp, up, sigsetsize);
9f72949f David Woodhouse 2006-01-18 716 }
9f72949f David Woodhouse 2006-01-18 717
5d0e5283 Christoph Hellwig 2010-03-10 718 #ifdef __ARCH_WANT_SYS_OLD_SELECT

:::::: The code at line 710 was first introduced by commit
:::::: 9f72949f679df06021c9e43886c9191494fdb007 [PATCH] Add pselect/ppoll system call implementation

:::::: TO: David Woodhouse <dwmw2@xxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data