aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorSergey Shtylyov <[email protected]>2021-03-28 00:13:49 +0300
committerJens Axboe <[email protected]>2021-03-30 20:23:07 -0600
commite6471a65fdd5efbb8dd2732dd0f063f960685ceb (patch)
treeeec12b26421cf0c55488984af1de10e3d88c1e36 /scripts/gdb/linux/timerlist.py
parentff237990277ff3a94ba4848c991bef24fd175cc0 (diff)
sata_mv: add IRQ checks
The function mv_platform_probe() neglects to check the results of the calls to platform_get_irq() and irq_of_parse_and_map() and blithely passes them to ata_host_activate() -- while the latter only checks for IRQ0 (treating it as a polling mode indicattion) and passes the negative values to devm_request_irq() causing it to fail as it takes unsigned values for the IRQ #... Add to mv_platform_probe() the proper IRQ checks to pass the positive IRQ #s to ata_host_activate(), propagate upstream the negative error codes, and override the IRQ0 with -EINVAL (as we don't want the polling mode). Fixes: f351b2d638c3 ("sata_mv: Support SoC controllers") 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