aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorHeikki Krogerus <[email protected]>2022-01-24 12:02:28 +0300
committerGreg Kroah-Hartman <[email protected]>2022-01-25 18:37:35 +0100
commit147ab5376f18045da9f22a8262185707745bbf77 (patch)
treef8bb4849d5f6f70750580926d5fee7a300c5ea15 /drivers/usb/cdns3/cdns3-imx.c
parent7817adb03cfb52ebb5bdb25fd9fc8f683a1a09d9 (diff)
usb: typec: Don't try to register component master without components
This fixes NULL pointer dereference that happens if component master is registered with empty component match list. Fixes: 730b49aac426 ("usb: typec: port-mapper: Convert to the component framework") Reported-by: Mikhail Gavrilov <[email protected]> Tested-by: John Stultz <[email protected]> Signed-off-by: Heikki Krogerus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions