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

Skip to content
Commit 2c745748 authored by Azhar Shaikh's avatar Azhar Shaikh
Browse files

usb: dwc3-msm: Add a NULL check in probe



After retrieving the driver data(dwc3) from platform device(mdwc3),
there is no NULL pointer check for dwc3. If it is NULL may lead to
NULL pointer dereference. Hence add a NULL pointer check to avoid
this.

Change-Id: I2da75863250c086ba975cd99e7cec55db74d4364
Signed-off-by: default avatarAzhar Shaikh <azhars@codeaurora.org>
parent fe65c3f4
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