From: John Fastabend Date: Sat, 15 Oct 2011 05:00:10 +0000 (+0000) Subject: ixgbe: fix smatch splat due to missing NULL check X-Git-Tag: v3.2-rc1~68^2~4^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b120818e652965669d3f1abaeaa5c3ccdfb28126;p=pandora-kernel.git ixgbe: fix smatch splat due to missing NULL check ixgbe_ieee_ets and ixgbe_ieee_pfc are intialized at the same time. Do a check for both before configuring IEEE802.1Qaz. Also max_frame was causing a sparse warning resolved here as well. Reported-by: Dan Carpenter Signed-off-by: John Fastabend Tested-by: Ross Brattain Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed