tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-next head: 8182aacdaa8d6af4135b7cc2ec415df0a664304e commit: 4a5b8907d1dc21ea4e3b6ef8c2ff0d24713c3dce [82/90] bluetooth: fix compat ioctl config: sh-allyesconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 4a5b8907d1dc21ea4e3b6ef8c2ff0d24713c3dce # save the attached .config to linux build tree GCC_VERSION=7.2.0 make.cross ARCH=sh All errors (new ones prefixed by >>): net//bluetooth/hci_sock.c: In function 'hci_sock_compat_ioctl': >> net//bluetooth/hci_sock.c:1068:51: error: implicit declaration of function 'compat_ptr'; did you mean 'complete'? [-Werror=implicit-function-declaration] return hci_sock_ioctl(sock, cmd, (unsigned long)compat_ptr(arg)); ^~~~~~~~~~ complete net//bluetooth/hci_sock.c: At top level: >> net//bluetooth/hci_sock.c:1992:3: error: 'const struct proto_ops' has no member named 'compat_ioctl' .compat_ioctl = hci_sock_compat_ioctl, ^~~~~~~~~~~~ >> net//bluetooth/hci_sock.c:1992:18: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .compat_ioctl = hci_sock_compat_ioctl, ^~~~~~~~~~~~~~~~~~~~~ net//bluetooth/hci_sock.c:1992:18: note: (near initialization for 'hci_sock_ops.listen') cc1: some warnings being treated as errors vim +1068 net//bluetooth/hci_sock.c 1057 1058 static int hci_sock_compat_ioctl(struct socket *sock, unsigned int cmd, 1059 unsigned long arg) 1060 { 1061 switch (cmd) { 1062 case HCIDEVUP: 1063 case HCIDEVDOWN: 1064 case HCIDEVRESET: 1065 case HCIDEVRESTAT: 1066 return hci_sock_ioctl(sock, cmd, arg); 1067 default: > 1068 return hci_sock_ioctl(sock, cmd, (unsigned long)compat_ptr(arg)); 1069 } 1070 } 1071 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip