Messages in this thread | | | Date | Wed, 2 May 2018 06:49:44 +0800 | From | kbuild test robot <> | Subject | Re: [PATCH 4/6] x86, memcpy_mcsafe: define copy_to_iter_mcsafe() |
| |
Hi Dan,
I love your patch! Yet something to improve:
[auto build test ERROR on linus/master] [also build test ERROR on v4.17-rc3 next-20180501] [cannot apply to tip/x86/core] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Dan-Williams/use-memcpy_mcsafe-for-copy_to_iter/20180502-045742 config: i386-tinyconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386
All errors (new ones prefixed by >>):
lib/iov_iter.c: In function 'copyout_mcsafe': >> lib/iov_iter.c:146:7: error: implicit declaration of function 'copy_to_user_mcsafe'; did you mean 'copy_to_iter_mcsafe'? [-Werror=implicit-function-declaration] n = copy_to_user_mcsafe((__force void *) to, from, n); ^~~~~~~~~~~~~~~~~~~ copy_to_iter_mcsafe cc1: some warnings being treated as errors
vim +146 lib/iov_iter.c
141 142 static int copyout_mcsafe(void __user *to, const void *from, size_t n) 143 { 144 if (access_ok(VERIFY_WRITE, to, n)) { 145 kasan_check_read(from, n); > 146 n = copy_to_user_mcsafe((__force void *) to, from, n); 147 } 148 return n; 149 } 150
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation [unhandled content-type:application/gzip] | |