Use FIELD_SIZEOF().
Subsystems (2)
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
David Miller
maintainerFrom: 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 structsk_buff.
Series applied, thanks.