]> Git Repo - linux.git/commit
ixgbe: fix smatch splat due to missing NULL check
authorJohn Fastabend <[email protected]>
Sat, 15 Oct 2011 05:00:10 +0000 (05:00 +0000)
committerJeff Kirsher <[email protected]>
Wed, 2 Nov 2011 23:55:31 +0000 (16:55 -0700)
commitb120818e652965669d3f1abaeaa5c3ccdfb28126
treef6b2a4b60a94ecbb805a4825834940a62e1e748e
parent93d3ce8fafb888702311fc8c5917faa4c25b8266
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 <[email protected]>
Signed-off-by: John Fastabend <[email protected]>
Tested-by: Ross Brattain <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
This page took 0.052423 seconds and 4 git commands to generate.