i40e: check pointers before use
authorShannon Nelson <shannon.nelson@intel.com>
Sat, 21 Feb 2015 06:45:28 +0000 (06:45 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 26 Feb 2015 12:54:03 +0000 (04:54 -0800)
commit65d13461d7c3fa822ff2000d2c0fe5f5b1943cb9
tree4a73ffd9342cdee9af54367ed92b401973d7c7c2
parent2c47e351f61b66f2e870bfd634e471a6ab1af920
i40e: check pointers before use

Make sure we don't try to dereference NULL pointers when returning values
from the AdminQ calls.

Change-ID: Ia6694f2f415d50acf0aba063c863568742799aff
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c