From: Bo YU Date: Tue, 30 Oct 2018 03:42:09 +0000 (-0400) Subject: net: add an identifier name for 'struct sock *' X-Git-Tag: v4.20-rc1~37^2~9 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=c4147beabec19fc7b37eb79251114bad3e9915dd;p=uclinux-h8%2Flinux.git net: add an identifier name for 'struct sock *' Fix a warning from checkpatch: function definition argument 'struct sock *' should also have an identifier name in include/net/af_unix.h. Signed-off-by: Bo YU Signed-off-by: David S. Miller --- diff --git a/include/net/af_unix.h b/include/net/af_unix.h index e2695c4bf358..d53aea859a76 100644 --- a/include/net/af_unix.h +++ b/include/net/af_unix.h @@ -13,7 +13,7 @@ void unix_notinflight(struct user_struct *user, struct file *fp); void unix_gc(void); void wait_for_unix_gc(void); struct sock *unix_get_socket(struct file *filp); -struct sock *unix_peer_get(struct sock *); +struct sock *unix_peer_get(struct sock *sk); #define UNIX_HASH_SIZE 256 #define UNIX_HASH_BITS 8