diff options
| author | Ruoyu Wang <ruoyuw560@gmail.com> | 2026-06-18 02:22:02 +0800 |
|---|---|---|
| committer | Krzysztof Kozlowski <krzk@kernel.org> | 2026-06-30 19:27:39 +0200 |
| commit | 1527acf2295cf2d6e11e3e9b121d63709667e6e7 (patch) | |
| tree | fe9dd660f6ee1ad6edcb7561595dbe79cd18940e /tools/perf/scripts/python/stackcollapse.py | |
| parent | dc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff) | |
memory: stm32_omm: initialize ret in stm32_omm_set_amcr
stm32_omm_set_amcr() returns ret after checking whether the AMCR value
matches the device tree description. On the normal matching path ret is
not otherwise assigned, so initialize it to 0 before the checks.
Signed-off-by: Ruoyu Wang <ruoyuw560@gmail.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://patch.msgid.link/20260617182202.961843-1-ruoyuw560@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
