Helin Zhang 702ea45e8b i40e/base: future proof some sizeof calls
Make sure the sizeof() calls are taking the size of the actual
struct that we care about. By using the pointer variable, it will
always get the right struct size, even if the variable type
changes sometime in the future.

Test report: http://www.dpdk.org/ml/archives/dev/2015-May/017384.html

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jijiang Liu <jijiang.liu@intel.com>
Tested-by: Min Cao <min.cao@intel.com>
2015-05-17 23:18:32 +02:00
..
2015-02-24 22:12:35 +01:00
2015-05-11 15:51:14 +02:00
2015-04-23 15:11:12 +02:00
2015-03-10 12:06:08 +01:00
2015-02-26 00:31:45 +01:00