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

Skip to content
Commit 4317c650 authored by Dan Sneddon's avatar Dan Sneddon Committed by Gerrit - the friendly Code Review server
Browse files

devfreq: spdm: Fix bad pointer access



If the spdm governor fails to connect to the hypervisor correctly
the device it is supposed to be governing will be freed but still
stored in the local list.  This patch removes the device from the
list to prevent accessing an invalid pointer if the hypervisor returns
an error.

Change-Id: I536c198b5a25adbd3044ffd37d9951c197b1dfd9
Signed-off-by: default avatarDan Sneddon <dsneddon@codeaurora.org>
parent bd346484
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