summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorBrett Creeley <brett.creeley@intel.com>2019-02-13 21:51:14 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-03-26 23:40:20 +0300
commit5abac9d7e1bb9a373673811154774d4c89a7f85e (patch)
tree6480aff017861b8419c8d9a589eb246bf6b4572b /scripts/objdiff
parentcf6c6e01bf5debe1d144bab6c8c903b926fa8882 (diff)
downloadlinux-5abac9d7e1bb9a373673811154774d4c89a7f85e.tar.xz
ice: Put __ICE_PREPARED_FOR_RESET check in ice_prepare_for_reset
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>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions