Thread (19 messages) flat view 19 messages, 6 authors, 2021-08-13

Re: [PATCH v2 8/9] usb: phy: tahvo: add IRQ check

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2021-08-13 07:02:23

On Mon, Aug 09, 2021 at 11:52:05PM +0300, Sergey Shtylyov wrote:
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: 0807c500a1a6 ("USB: add Freescale USB OTG Transceiver driver")
Signed-off-by: Sergey Shtylyov <redacted>

---
 drivers/usb/phy/phy-fsl-usb.c |    2 ++
 1 file changed, 2 insertions(+)
This patch did not apply to my tree :(
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help