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

Skip to content
Commit f7d99213 authored by Stephen Boyd's avatar Stephen Boyd
Browse files

msm: clock-local: Avoid potential NULL dereference in branch_disable_reg()



It's possible that ctl_reg is NULL here if en_mask is non-zero.
Check for a non-NULL ctl_reg pointer to avoid dereferencing a
NULL pointer.

Change-Id: I623ff489973a566e9ce6856513e030ee928db0ba
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 34eea45f
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