Skip to content
Commit 75eaa498 authored by Nikhil Badola's avatar Nikhil Badola Committed by Felipe Balbi
Browse files

usb: gadget: Correct NULL pointer checking in fsl gadget



Correct NULL pointer checking for endpoint descriptor
before it gets dereferenced

Signed-off-by: default avatarNikhil Badola <nikhil.badola@freescale.com>
Signed-off-by: default avatarRan Wang <ran.wang_1@nxp.com>
Reviewed-by: default avatarPeter Chen <peter.chen@nxp.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent eb23c8b4
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