Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 25e14c1f authored by Xi Wang's avatar Xi Wang Committed by Felipe Balbi
Browse files

usb: gadget: amd5536udc: avoid NULL pointer dereference in udc_pci_probe()



dev->pdev is NULL before `dev->pdev = pdev'; use pdev instead.

Signed-off-by: default avatarXi Wang <xi.wang@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent deeeb9ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment