CHECK: extern prototypes should be avoided in .h files #24: FILE: include/linux/socket.h:471: +extern int do_getsockname(struct socket *sock, struct sockaddr_storage *address, WARNING: line length of 98 exceeds 80 columns #25: FILE: include/linux/socket.h:472: + int peer, struct sockaddr __user *usockaddr, int __user *usockaddr_len); WARNING: line length of 83 exceeds 80 columns #37: FILE: net/socket.c:2130: +int do_getsockname(struct socket *sock, struct sockaddr_storage *address, int peer, WARNING: line length of 84 exceeds 80 columns #48: FILE: net/socket.c:2141: + err = READ_ONCE(sock->ops)->getname(sock, (struct sockaddr *)address, peer); total: 0 errors, 3 warnings, 1 checks, 60 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 30f1e3a3566e ("socket: Split out a getsockname helper for io_uring") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 3 warnings, 1 checks, 60 lines checked