diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2025-07-04 19:46:00 +0900 |
---|---|---|
committer | Niklas Cassel <cassel@kernel.org> | 2025-07-07 12:40:56 +0200 |
commit | 7aae547bbe442affc4afe176b157fab820a12437 (patch) | |
tree | e2fd04d4cd114241b3f1cdd7801dbf6005ea6632 /scripts/lib/kdoc/kdoc_re.py | |
parent | 31921e87b2d2614e261096fdabedef1db7679611 (diff) |
ata: libata: Introduce ata_port_eh_scheduled()
Introduce the inline helper function ata_port_eh_scheduled() to test if
EH is pending (ATA_PFLAG_EH_PENDING port flag is set) or running
(ATA_PFLAG_EH_IN_PROGRESS port flag is set) for a port. Use this helper
in ata_port_wait_eh() and __ata_scsi_queuecmd() to replace the hardcoded
port flag tests.
No functional changes.
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Link: https://lore.kernel.org/r/20250704104601.310643-1-dlemoal@kernel.org
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions