diff options
author | Andrew Goodbody <andrew.goodbody@linaro.org> | 2025-06-26 17:38:54 +0100 |
---|---|---|
committer | Mattijs Korpershoek <mkorpershoek@kernel.org> | 2025-07-02 12:10:04 +0200 |
commit | 4b9717c6868f2f98b02fbe87a885cfa48a5b9946 (patch) | |
tree | fcf678acb7e7580de113df11410fa50da3957bc0 /drivers/ram/stm32mp1/stm32mp1_ddr.c | |
parent | a6732920821a23e00cc3291d8069061bd7d00e67 (diff) |
cmd: abootimg: Prevent use of unintialised variable
Initialise vhdr to prevent its use when uninitialised.
This issue was found with Smatch.
Fixes: 636da2039aea (android: boot: support boot image header version 3 and 4)
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Link: https://lore.kernel.org/r/20250625-abootimg_fix-v4-1-df7af00e87b0@linaro.org
[mkorpershoek: fixed trivial typo in commit msg]
Signed-off-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Diffstat (limited to 'drivers/ram/stm32mp1/stm32mp1_ddr.c')
0 files changed, 0 insertions, 0 deletions