Skip to contentSkip to conversation

ata:Check if D2H Register FIS command fails in the function ahci_do_softreset

PATCH Tejun Heo 1 participant 1 message Sep 21, 2015 1 message not in the archive libata

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Tejun Heo

author
#1 lore raw
Quoted 4 lines · Nicholas Krause

This fixes the missing error check and handling if the second D2H register command fails in the function fails.

This isn't exactly a command execution and the success condition checks are performed manually afterwards. The ignoring of command execution result is intentional there and the proposed change is likely to cause more harm than good. Unless there are specific cases where the new code would behave better, I'd much rather leave it as it is.

Thansk.

Signature · 1 line
tejun