diff options
| author | 2026-04-02 09:07:05 -0700 | |
|---|---|---|
| committer | 2026-04-02 20:18:29 +0200 | |
| commit | 182caa17360dd48e6df08e18f00ebda0be87ab24 (patch) | |
| tree | 944b0d8d03a035ea5fcb8f32ac68e0eb2b43b743 /tools/perf/scripts/python | |
| parent | ata: libahci_platform: use flex array for platform PHYs (diff) | |
ata: libata-eh: Do not retry reset if the device is gone
If a device is hot-unplugged or otherwise disappears during error handling,
ata_eh_reset() may fail with -ENODEV. Currently, the error handler will
continue to retry the reset operation up to max_tries times.
Prevent unnecessary reset retries by exiting the loop early when
ata_do_reset() returns -ENODEV.
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Igor Pylypiv <ipylypiv@google.com>
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
