Skip to content

Commit

Permalink
net: add an identifier name for 'struct sock *'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bo YU authored and David S. Miller committed Oct 31, 2018
1 parent e761108 commit c4147be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/af_unix.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4147be

Please sign in to comment.