Staging: gdm724x: netlink_k.c: fixed coding style
Line over 80 characters Signed-off-by: Daniel Ngu <daniel.dy.ngu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b9d93d1c5d
commit
a67083725c
@ -32,7 +32,8 @@ static struct semaphore netlink_mutex;
|
||||
#define ND_MAX_GROUP 30
|
||||
#define ND_IFINDEX_LEN sizeof(int)
|
||||
#define ND_NLMSG_SPACE(len) (NLMSG_SPACE(len) + ND_IFINDEX_LEN)
|
||||
#define ND_NLMSG_DATA(nlh) ((void *)((char *)NLMSG_DATA(nlh) + ND_IFINDEX_LEN))
|
||||
#define ND_NLMSG_DATA(nlh) ((void *)((char *)NLMSG_DATA(nlh) + \
|
||||
ND_IFINDEX_LEN))
|
||||
#define ND_NLMSG_S_LEN(len) (len+ND_IFINDEX_LEN)
|
||||
#define ND_NLMSG_R_LEN(nlh) (nlh->nlmsg_len-ND_IFINDEX_LEN)
|
||||
#define ND_NLMSG_IFIDX(nlh) NLMSG_DATA(nlh)
|
||||
|
Loading…
Reference in New Issue
Block a user