summaryrefslogtreecommitdiffstats
path: root/net/ipv6/esp6.c
diff options
context:
space:
mode:
authorSergey Shtylyov <s.shtylyov@omp.ru>2021-08-09 23:53:16 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-22 11:45:21 +0200
commitbc9d56113f9ac1eafe15a98416947e03d59e7590 (patch)
tree3bc89a3d40dacbf49adbac6e033aad4e1272472b /net/ipv6/esp6.c
parent6bc56c42bbbe342d761e732c383197dc30f271d1 (diff)
downloadlinux-stable-bc9d56113f9ac1eafe15a98416947e03d59e7590.tar.gz
linux-stable-bc9d56113f9ac1eafe15a98416947e03d59e7590.tar.bz2
linux-stable-bc9d56113f9ac1eafe15a98416947e03d59e7590.zip
usb: phy: twl6030: add IRQ checks
[ Upstream commit 0881e22c06e66af0b64773c91c8868ead3d01aa1 ] The driver neglects to check the result of platform_get_irq()'s calls and blithely passes the negative error codes to request_threaded_irq() (which takes *unsigned* IRQ #), causing them both to fail with -EINVAL, overriding an original error code. Stop calling request_threaded_irq() with the invalid IRQ #s. Fixes: c33fad0c3748 ("usb: otg: Adding twl6030-usb transceiver driver for OMAP4430") Acked-by: Felipe Balbi <balbi@kernel.org> Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru> Link: https://lore.kernel.org/r/9507f50b-50f1-6dc4-f57c-3ed4e53a1c25@omp.ru Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/ipv6/esp6.c')
0 files changed, 0 insertions, 0 deletions