diff options
| author | Sergey Shtylyov <[email protected]> | 2021-08-09 23:35:11 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-08-13 09:02:37 +0200 |
| commit | ecff88e819e31081d41cd05bb199b9bd10e13e90 (patch) | |
| tree | c92638b522b27accb6d34a7c5809e95ae069b36b /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 50855c31573b02963f0aa2aacfd4ea41c31ae0e0 (diff) | |
usb: gadget: udc: s3c2410: 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 an original
error code. Stop calling request_irq() with the invalid IRQ #s.
Fixes: 188db4435ac6 ("usb: gadget: s3c: use platform resources")
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Felipe Balbi <[email protected]>
Signed-off-by: Sergey Shtylyov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions