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

Skip to content
Commit 7dffab84 authored by Deepak Kumar Singh's avatar Deepak Kumar Singh
Browse files

soc: qcom: glink_probe: Move ssr assignment before registering



Assignment to ssr field of notifier block structure
is being done after registering notifier block. This can
result in calling ssr callback function even before ssr
field has valid assignment and result in NULL pointer
dereference.

Moving code for assignment to ssr field before registering
the ssr notifier block.

CRs-Fixed: 2414096
Change-Id: Ide0735b537ca02b0626e45f0aa0cb206dc21edef
Signed-off-by: default avatarDeepak Kumar Singh <deesin@codeaurora.org>
parent e5c2b83b
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