From: Shannon Nelson Date: Fri, 27 Feb 2015 09:18:30 +0000 (+0000) Subject: i40e: future proof some sizeof calls X-Git-Tag: omap-for-v4.2/o2_dc~131^2~291^2~7 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1efc80eeee8c89188e78545c87a613e480aefd96;p=pandora-kernel.git i40e: 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, we'll always get the right struct size, even if the variable type changes sometime in the future. Change-ID: Id5858f883cf42447365ea3733080d7714f975bce Signed-off-by: Shannon Nelson Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed