* [alibaba-cloud:ck-4.19.91 54/100] include/linux/socket.h:380:38: warning: 'struct file' declared inside parameter list will not be visible outside of this definition or declaration
@ 2020-02-11 9:05 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-02-11 9:05 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3751 bytes --]
tree: https://github.com/alibaba/cloud-kernel.git ck-4.19.91
head: 536f70b41d6fc5fc46f50c4caa012c4439160180
commit: d7d134b731d896b5f97303bb86f44c699023856d [54/100] net: add __sys_accept4_file() helper
config: parisc-randconfig-a001-20200211 (attached as .config)
compiler: hppa-linux-gcc (GCC) 7.5.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 d7d134b731d896b5f97303bb86f44c699023856d
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from include/linux/compat.h:15:0,
from drivers/hid/uhid.c:14:
>> include/linux/socket.h:380:38: warning: 'struct file' declared inside parameter list will not be visible outside of this definition or declaration
extern int __sys_accept4_file(struct file *file, unsigned file_flags,
^~~~
vim +380 include/linux/socket.h
353
354 /* The __sys_...msg variants allow MSG_CMSG_COMPAT iff
355 * forbid_cmsg_compat==false
356 */
357 extern long __sys_recvmsg(int fd, struct user_msghdr __user *msg,
358 unsigned int flags, bool forbid_cmsg_compat);
359 extern long __sys_sendmsg(int fd, struct user_msghdr __user *msg,
360 unsigned int flags, bool forbid_cmsg_compat);
361 extern int __sys_recvmmsg(int fd, struct mmsghdr __user *mmsg, unsigned int vlen,
362 unsigned int flags, struct timespec *timeout);
363 extern int __sys_sendmmsg(int fd, struct mmsghdr __user *mmsg,
364 unsigned int vlen, unsigned int flags,
365 bool forbid_cmsg_compat);
366 extern long __sys_sendmsg_sock(struct socket *sock,
367 struct user_msghdr __user *msg,
368 unsigned int flags);
369 extern long __sys_recvmsg_sock(struct socket *sock,
370 struct user_msghdr __user *msg,
371 unsigned int flags);
372
373 /* helpers which do the actual work for syscalls */
374 extern int __sys_recvfrom(int fd, void __user *ubuf, size_t size,
375 unsigned int flags, struct sockaddr __user *addr,
376 int __user *addr_len);
377 extern int __sys_sendto(int fd, void __user *buff, size_t len,
378 unsigned int flags, struct sockaddr __user *addr,
379 int addr_len);
> 380 extern int __sys_accept4_file(struct file *file, unsigned file_flags,
381 struct sockaddr __user *upeer_sockaddr,
382 int __user *upeer_addrlen, int flags);
383 extern int __sys_accept4(int fd, struct sockaddr __user *upeer_sockaddr,
384 int __user *upeer_addrlen, int flags);
385 extern int __sys_socket(int family, int type, int protocol);
386 extern int __sys_bind(int fd, struct sockaddr __user *umyaddr, int addrlen);
387 extern int __sys_connect(int fd, struct sockaddr __user *uservaddr,
388 int addrlen);
389 extern int __sys_listen(int fd, int backlog);
390 extern int __sys_getsockname(int fd, struct sockaddr __user *usockaddr,
391 int __user *usockaddr_len);
392 extern int __sys_getpeername(int fd, struct sockaddr __user *usockaddr,
393 int __user *usockaddr_len);
394 extern int __sys_socketpair(int family, int type, int protocol,
395 int __user *usockvec);
396 extern int __sys_shutdown(int fd, int how);
397
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 21184 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-11 9:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-11 9:05 [alibaba-cloud:ck-4.19.91 54/100] include/linux/socket.h:380:38: warning: 'struct file' declared inside parameter list will not be visible outside of this definition or declaration kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.