Skip to content
Verified Commit 72b6a2d6 authored by Alina Yu's avatar Alina Yu Committed by Mark Brown
Browse files

regulator: rtq2208: Fix invalid memory access when devm_of_regulator_put_matches is called



In this patch, a software bug has been fixed.
rtq2208_ldo_match is no longer a local variable.
It prevents invalid memory access when devm_of_regulator_put_matches
 is called.

Signed-off-by: default avatarAlina Yu <alina_yu@richtek.com>
Link: https://msgid.link/r/4ce8c4f16f1cf3aa4e5f36c0694dd3c5ccf3cd1c.1716870419.git.alina_yu@richtek.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1613e604
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment