Skip to contentSkip to conversation

Use FIELD_SIZEOF().

PATCH In review YOSHIFUJI Hideaki 2 participants 2 messages Jan 9, 2013 – Jan 10, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover Use FIELD_SIZEOF().

Use FIELD_SIZEOF() macro instead of dummy pointer to check size of cb in struct sk_buff.

YOSHIFUJI Hideaki (6):
ipv4: Use FIELD_SIZEOF() in inet_init().
ipv6: Use FIELD_SIZEOF() in inet6_init().
netlink: Use FIELD_SIZEOF() in netlink_proto_init().
openvswitch: Use FIELD_SIZEOF() in dp_init().
rxrpc: Use FIELD_SIZEOF() in af_rxrpc_init().
unix: Use FIELD_SIZEOF() in af_unix_init().

 net/ipv4/af_inet.c         |    3 +--
 net/ipv6/af_inet6.c        |    3 +--
 net/netlink/af_netlink.c   |    3 +--
 net/openvswitch/datapath.c |    3 +--
 net/rxrpc/af_rxrpc.c       |    4 ++--
 net/unix/af_unix.c         |    3 +--
 6 files changed, 7 insertions(+), 12 deletions(-)
Signature · 1 line
1.7.9.5
maintainer
#1 lore raw

From: YOSHIFUJI Hideaki <[email protected]>
Date: Thu, 10 Jan 2013 02:19:29 +0900

Quoted 2 lines

Use FIELD_SIZEOF() macro instead of dummy pointer to check size of cb in struct sk_buff.

Series applied, thanks.