commit | 7fc411f16047728705071c242d21d06c8193c919 | [log] [tgz] |
---|---|---|
author | Sriharsha Allenki <sallenki@codeaurora.org> | Thu Sep 28 16:06:18 2017 +0530 |
committer | Chandana Kishori Chiluveru <cchiluve@codeaurora.org> | Thu Mar 29 10:32:55 2018 +0530 |
tree | 9f1e9e4aea60207161b59af072ce7d4885ae1559 | |
parent | 513494c8ab5534f3d9c7b78cb4942528d9c26f46 [diff] |
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: Sriharsha Allenki <sallenki@codeaurora.org> Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>