aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSergey Shtylyov <[email protected]>2021-08-09 23:45:15 +0300
committerGreg Kroah-Hartman <[email protected]>2021-08-13 13:05:50 +0200
commit711087f342914e831269438ff42cf59bb0142c71 (patch)
tree31173be2bbb9e0730d72f748cc9c7871b63ee145 /tools/perf/scripts/python
parentecff88e819e31081d41cd05bb199b9bd10e13e90 (diff)
usb: misc: brcmstb-usb-pinmap: add IRQ check
The driver neglects to check the result of platform_get_irq()'s call and blithely passes the negative error codes to devm_request_irq() (which takes *unsigned* IRQ #), causing it to fail with -EINVAL, overriding an original error code. Stop calling devm_request_irq() with the invalid IRQ #s. Fixes: 517c4c44b323 ("usb: Add driver to allow any GPIO to be used for 7211 USB signals") Reviewed-by: Florian Fainelli <[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')
0 files changed, 0 insertions, 0 deletions