]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:23:24 +0000 (09:23 +0100)
commit349a8d9b7b759a2f3ef773513bb4b3459a7e7fa4
tree088413897fe39b947cd4b22157621db13ac03d08
parent365a1dcaefccba917f513a5625bc086cfa6c22d1
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