fm10k: correctly check if interface is removed
authorPhil Turnbull <phil.turnbull@oracle.com>
Wed, 23 Nov 2016 18:33:58 +0000 (13:33 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Mar 2018 08:17:48 +0000 (09:17 +0100)
commit1f7b46d22802e7adefd2c4f3d13773cb8cb35b92
tree18b78fb9125079ce7efde0ca2fc16246af7cb90a
parent6818b4da096857cea8d9143cd3e0eeeb602ad862
fm10k: correctly check if interface is removed

[ Upstream commit 540fca35e38d15777b310f450f63f056e63039f5 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c