tree:
https://github.com/alibaba/cloud-kernel.git linux-next
head: 4da723592714ee2993664252216d9d5b5a3df3eb
commit: 992cfc11fd216afa8c3dbec7399c48d44e4710d2 [11445/11535] net: abstract out normal
and compat msghdr import
config: openrisc-randconfig-r034-20200610 (attached as .config)
compiler: or1k-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 992cfc11fd216afa8c3dbec7399c48d44e4710d2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
In file included from net/socket.c:97:
> include/net/compat.h:45:40: error: unknown type name
'compat_uptr_t'; did you mean 'compat_time_t'?
45 | struct
sockaddr __user **save_addr, compat_uptr_t *ptr,
| ^~~~~~~~~~~~~
| compat_time_t
> include/net/compat.h:46:4: error: unknown type name
'compat_size_t'; did you mean 'compat_time_t'?
46 | compat_size_t
*len);
| ^~~~~~~~~~~~~
| compat_time_t
vim +45 include/net/compat.h
43
44 int __get_compat_msghdr(struct msghdr *kmsg, struct compat_msghdr __user *umsg,
45 struct sockaddr __user **save_addr, compat_uptr_t *ptr,
46 compat_size_t *len);
47 int get_compat_msghdr(struct msghdr *, struct
compat_msghdr __user *,
48 struct sockaddr __user **, struct iovec **);
49 struct sock_fprog __user *get_compat_bpf_fprog(char __user *optval);
50 int put_cmsg_compat(struct msghdr*, int, int, int, void *);
51
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org