diff options
author | Bo YU <tsu.yubo@gmail.com> | 2018-10-29 23:42:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-31 12:37:12 -0700 |
commit | c4147beabec19fc7b37eb79251114bad3e9915dd (patch) | |
tree | c3f187def8782f2b223b578762fcae78a6f3ada1 /include/net/af_unix.h | |
parent | e7611088f0357339d8c30540222debfa24095d4b (diff) | |
download | linux-stable-c4147beabec19fc7b37eb79251114bad3e9915dd.tar.gz linux-stable-c4147beabec19fc7b37eb79251114bad3e9915dd.tar.bz2 linux-stable-c4147beabec19fc7b37eb79251114bad3e9915dd.zip |
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 <tsu.yubo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/af_unix.h')
-rw-r--r-- | include/net/af_unix.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |