diff options
author | Andrew Goodbody <andrew.goodbody@linaro.org> | 2025-06-26 15:12:58 +0100 |
---|---|---|
committer | Casey Connolly <casey.connolly@linaro.org> | 2025-07-14 15:35:24 +0200 |
commit | 8830e72092e07e4439835ed07efefff91aede67e (patch) | |
tree | 13c74c7ba964be3340a849cd7a116cad7e62ad2b /drivers/cache/cache-ncore.c | |
parent | d8da51a87c2a73b3f6aa2bf38a8db91b16cc30a9 (diff) |
cmd: ufetch: Initialise size before first use
The local variable size is not assigned to before it is used
for the first time. Correct this.
This issue was found by Smatch.
Fixes: 86d462c05d57 (cmd: add a fetch utility)
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Reviewed-by: Casey Connolly <casey.connolly@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Link: https://lore.kernel.org/r/20250626-ufetch_fix-v1-1-025afdb85dc2@linaro.org
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
Diffstat (limited to 'drivers/cache/cache-ncore.c')
0 files changed, 0 insertions, 0 deletions