diff options
author | Alina Yu <alina_yu@richtek.com> | 2024-05-28 14:01:13 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-05-28 13:22:54 +0100 |
commit | 72b6a2d6506843375c7b91197f49ef38ca0c6d0f (patch) | |
tree | 3bb53c21f36389eda84870f1c17f82edb157ccf7 /init | |
parent | 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff) | |
download | linux-72b6a2d6506843375c7b91197f49ef38ca0c6d0f.tar.gz linux-72b6a2d6506843375c7b91197f49ef38ca0c6d0f.tar.bz2 linux-72b6a2d6506843375c7b91197f49ef38ca0c6d0f.zip |
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: Alina Yu <alina_yu@richtek.com>
Link: https://msgid.link/r/4ce8c4f16f1cf3aa4e5f36c0694dd3c5ccf3cd1c.1716870419.git.alina_yu@richtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions