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

Skip to content
Commit ae1526fe authored by Sriharsha Allenki's avatar Sriharsha Allenki Committed by Gerrit - the friendly Code Review server
Browse files

usb: dwc3-msm: Fix NULL pointer dereference in gsi_ring_db



If the obtained GSI door bell address in gsi_ring_db
is NULL, it will result in NULL pointer dereference.
Fix this by bailing out from the function if the
address is NULL.

Also change the dev_dbg to dev_err for more
visibility in case of error.

Change-Id: Idfb71cbdbd0b92d54f14951770e0961ab176ad6f
Signed-off-by: default avatarSriharsha Allenki <sallenki@codeaurora.org>
Signed-off-by: default avatarChandana Kishori Chiluveru <cchiluve@codeaurora.org>
parent e710aa3f
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