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

Skip to content
Commit be77a906 authored by Zhenhua Huang's avatar Zhenhua Huang Committed by Stephen Boyd
Browse files

spmi and gpio: qpnp: add pointer check in qpnp drivers



This patch is to fix KW errors in drivers. It's
neccessary to check NULL pointer before dereferencing it.
There're 4 issues related to it in qpnp-int.c and
qpnp-pin.c. Fix them by checking before.

CRs-Fixed: 505322
Change-Id: I2f82d1b24c219ef7e6b0977091fc353dac579cbc
Signed-off-by: default avatarZhenhua Huang <zhenhuah@codeaurora.org>
parent 9fb0f4fd
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