enic: Use offsetof macro in vic tlv length calculation
authorRoopa Prabhu <roprabhu@cisco.com>
Tue, 10 Aug 2010 18:55:10 +0000 (18:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Aug 2010 09:32:58 +0000 (02:32 -0700)
commit7c46835e4845fed5f348f5845a3a6165874e2f05
tree7ddc9fb2de9ba71a8904452160685a74c5bd8cff
parentae94abe1687871d9772494b3d378c6d3decd7f75
enic: Use offsetof macro in vic tlv length calculation

Signed-off-by: Scott Feldman <scofeldm@cisco.com>
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: Vasanthy Kolluri <vkolluri@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enic/vnic_vic.c