Files
linux/drivers/net/ethernet/intel/ice
Brett Creeley 2cfe5e42e0 ice: Put __ICE_PREPARED_FOR_RESET check in ice_prepare_for_reset
[ Upstream commit 5abac9d7e1 ]

Currently we check if the __ICE_PREPARED_FOR_RESET bit is set prior to
calling ice_prepare_for_reset in ice_reset_subtask(), but we aren't
checking that bit in ice_do_reset() before calling
ice_prepare_for_reset(). This is not consistent and can cause issues if
ice_prepare_for_reset() is called prior to ice_do_reset(). Fix this by
checking if the __ICE_PREPARED_FOR_RESET bit is set internal to
ice_prepare_for_reset().

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-05-31 06:43:59 -07:00
..
2018-11-20 11:39:04 -08:00
2018-10-24 13:56:37 -07:00
2019-02-25 08:56:01 -08:00
2018-03-26 09:59:08 -07:00
2019-01-15 12:38:44 -08:00
2019-01-15 12:38:44 -08:00
2018-10-03 07:42:30 -07:00