* [hch-misc:um-set_fs 1/1] arch/um/include/asm/uaccess.h:53:19: error: implicit declaration of function 'get_unaligned'; did you mean 'get_cmdline'?
@ 2021-07-09 16:56 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-09 16:56 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: kbuild-all, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 3299 bytes --]
tree: git://git.infradead.org/users/hch/misc.git um-set_fs
head: 969a5fb627a0faf0402f8b7e211e1a6398b73736
commit: 969a5fb627a0faf0402f8b7e211e1a6398b73736 [1/1] um: remove set_fs
config: um-x86_64_defconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
git remote add hch-misc git://git.infradead.org/users/hch/misc.git
git fetch --no-tags hch-misc um-set_fs
git checkout 969a5fb627a0faf0402f8b7e211e1a6398b73736
# save the attached .config to linux build tree
make W=1 ARCH=um SUBARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/uaccess.h:11,
from include/linux/sched/task.h:11,
from include/linux/sched/signal.h:9,
from include/linux/rcuwait.h:6,
from include/linux/percpu-rwsem.h:7,
from include/linux/fs.h:33,
from include/linux/huge_mm.h:8,
from include/linux/mm.h:725,
from mm/maccess.c:6:
mm/maccess.c: In function 'copy_from_kernel_nofault':
>> arch/um/include/asm/uaccess.h:53:19: error: implicit declaration of function 'get_unaligned'; did you mean 'get_cmdline'? [-Werror=implicit-function-declaration]
53 | *((type *)dst) = get_unaligned((type *)(src)); \
| ^~~~~~~~~~~~~
mm/maccess.c:19:3: note: in expansion of macro '__get_kernel_nofault'
19 | __get_kernel_nofault(dst, src, type, err_label); \
| ^~~~~~~~~~~~~~~~~~~~
mm/maccess.c:31:2: note: in expansion of macro 'copy_from_kernel_nofault_loop'
31 | copy_from_kernel_nofault_loop(dst, src, size, u64, Efault);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mm/maccess.c: In function 'copy_to_kernel_nofault':
>> arch/um/include/asm/uaccess.h:60:2: error: implicit declaration of function 'put_unaligned' [-Werror=implicit-function-declaration]
60 | put_unaligned(*((type *)src), (type *)(dst)); \
| ^~~~~~~~~~~~~
mm/maccess.c:45:3: note: in expansion of macro '__put_kernel_nofault'
45 | __put_kernel_nofault(dst, src, type, err_label); \
| ^~~~~~~~~~~~~~~~~~~~
mm/maccess.c:54:2: note: in expansion of macro 'copy_to_kernel_nofault_loop'
54 | copy_to_kernel_nofault_loop(dst, src, size, u64, Efault);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +53 arch/um/include/asm/uaccess.h
50
51 #define __get_kernel_nofault(dst, src, type, err_label) \
52 do { \
> 53 *((type *)dst) = get_unaligned((type *)(src)); \
54 if (0) /* make sure the label looks used to the compiler */ \
55 goto err_label; \
56 } while (0)
57
58 #define __put_kernel_nofault(dst, src, type, err_label) \
59 do { \
> 60 put_unaligned(*((type *)src), (type *)(dst)); \
61 if (0) /* make sure the label looks used to the compiler */ \
62 goto err_label; \
63 } while (0)
64
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 8682 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-09 16:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-09 16:56 [hch-misc:um-set_fs 1/1] arch/um/include/asm/uaccess.h:53:19: error: implicit declaration of function 'get_unaligned'; did you mean 'get_cmdline'? kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®