summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSergey Shtylyov <s.shtylyov@omprussia.ru>2021-03-30 20:45:12 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-04-13 07:20:48 +0300
commit1160d61bc51e87e509cfaf9da50a0060f67b6de4 (patch)
treeb05cd707c87c58b3b3848cf0fc200a7773f655b1 /tools/perf/scripts/python/export-to-postgresql.py
parent14b321380eb333c82853d7d612d0995f05f88fdc (diff)
downloadlinux-1160d61bc51e87e509cfaf9da50a0060f67b6de4.tar.xz
scsi: sni_53c710: 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 #s), causing it to fail with -EINVAL (overridden by -ENODEV further below). Stop calling request_irq() with the invalid IRQ #s. Link: https://lore.kernel.org/r/8f4b8fa5-8251-b977-70a1-9099bcb4bb17@omprussia.ru Fixes: c27d85f3f3c5 ("[SCSI] SNI RM 53c710 driver") Signed-off-by: Sergey Shtylyov <s.shtylyov@omprussia.ru> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions