diff options
author | Sergey Shtylyov <[email protected]> | 2021-03-15 23:15:06 +0300 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-03-30 20:24:20 -0600 |
commit | b30d0040f06159de97ad9c0b1536f47250719d7d (patch) | |
tree | 9d61175d1fbab78bbe4484d958d161e918d13355 /scripts/gdb/linux/timerlist.py | |
parent | e6471a65fdd5efbb8dd2732dd0f063f960685ceb (diff) |
ata: libahci_platform: fix IRQ check
Iff platform_get_irq() returns 0, ahci_platform_init_host() would return 0
early (as if the call was successful). Override IRQ0 with -EINVAL instead
as the 'libata' regards 0 as "no IRQ" (thus polling) anyway...
Fixes: c034640a32f8 ("ata: libahci: properly propagate return value of platform_get_irq()")
Signed-off-by: Sergey Shtylyov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions