aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorXiang Chen <[email protected]>2024-01-22 14:25:47 +0800
committerMartin K. Petersen <[email protected]>2024-01-24 21:11:54 -0500
commitf9242f166770b681d9f71341d96adc01c4da00ef (patch)
treee974f29557f30bbf3152dd27b52eac59417cf6c8 /scripts/generate_rust_analyzer.py
parent69097a631c034451a75ca7cb6025460ba3a08f80 (diff)
scsi: hisi_sas: Remove hisi_hba->timer for v3 hw
hisi_hba->timer is not used for v3 hw but there are two places that some operations related to hisi_hba->timer are called by v3 hw: - Deleting the timer in function hisi_sas_v3_hw() which is only for v3 hw; - Deleting the timer in function hisi_sas_controller_reset_prepare() which is common for v1/v2/v3 hw. We can remove the timer in the first case, but for the second scenario we need to remove it only for v3 hw, so check hw->sht which is NULL only for v3 hw before deleting hisi_hba->timer. Signed-off-by: Xiang Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions