aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSergey Shtylyov <[email protected]>2021-03-30 20:44:08 +0300
committerMartin K. Petersen <[email protected]>2021-04-13 00:20:48 -0400
commit14b321380eb333c82853d7d612d0995f05f88fdc (patch)
tree0234a0a5beb7acc0be9713b09e61d492f6d0528d /tools/perf/scripts/python
parent38fca15c29db6ed06e894ac194502633e2a7d1fb (diff)
scsi: sun3x_esp: Add IRQ check
The driver neglects to check the result of platform_get_irq()'s call and blithely passes the negative error codes to request_irq() (which takes *unsigned* IRQ #), causing it to fail with -EINVAL, overriding the real error code. Stop calling request_irq() with the invalid IRQ #s. Link: https://lore.kernel.org/r/[email protected] Fixes: 0bb67f181834 ("[SCSI] sun3x_esp: convert to esp_scsi") Signed-off-by: Sergey Shtylyov <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions