Thread (3 messages) 3 messages, 3 authors, 2021-08-12

Re: [PATCH v2 4/9] usb: gadget: udc: s3c2410: add IRQ check

From: Felipe Balbi <balbi@kernel.org>
Date: 2021-08-12 05:43:04
Also in: linux-samsung-soc, linux-usb

Sergey Shtylyov [off-list ref] writes:
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")
Signed-off-by: Sergey Shtylyov <redacted>
Acked-by: Felipe Balbi <balbi@kernel.org>

-- 
balbi

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help