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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13.08.2021 10:02, Greg Kroah-Hartman wrote:
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 <s.shtylyov@xxxxxx>

---
  drivers/usb/phy/phy-fsl-usb.c |    2 ++
  1 file changed, 2 insertions(+)

This patch did not apply to my tree :(

No wonder -- I managed to send the FSL PHY patch twice. Sorry about all the mess! :-/

MBR, Sergei



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux