fm10k: correctly check if interface is removed
authorPhil Turnbull <phil.turnbull@oracle.com>
Wed, 23 Nov 2016 18:33:58 +0000 (13:33 -0500)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 6 Apr 2017 05:47:30 +0000 (22:47 -0700)
commit540fca35e38d15777b310f450f63f056e63039f5
tree71d22f4f00fc24c72ee02c32e51ebc75dabf873f
parentfaeeb317a5615076dff1ff44b51e862e6064dbd0
fm10k: correctly check if interface is removed

FM10K_REMOVED expects a hardware address, not a 'struct fm10k_hw'.

Fixes: 5cb8db4a4cbc ("fm10k: Add support for VF")
Signed-off-by: Phil Turnbull <phil.turnbull@oracle.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c