diff options
author | 2011-10-15 05:00:10 +0000 | |
---|---|---|
committer | 2011-11-02 16:55:31 -0700 | |
commit | b120818e652965669d3f1abaeaa5c3ccdfb28126 (patch) | |
tree | f6b2a4b60a94ecbb805a4825834940a62e1e748e /lib/mpi/mpi-bit.c | |
parent | ixgbe: fix disabling of Tx laser at probe (diff) | |
download | linux-dev-b120818e652965669d3f1abaeaa5c3ccdfb28126.tar.xz linux-dev-b120818e652965669d3f1abaeaa5c3ccdfb28126.zip |
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 <dan.carpenter@oracle.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions