]> git.ipfire.org Git - thirdparty/u-boot.git/commit
spl: spl_imx_container: Delete uninitialized variable
authorYe Li <ye.li@nxp.com>
Wed, 23 Jul 2025 18:00:16 +0000 (15:00 -0300)
committerFabio Estevam <festevam@gmail.com>
Thu, 24 Jul 2025 11:00:47 +0000 (08:00 -0300)
commit10b6d472d2a4dab3f649371030f57413894b2df6
tree7f9b13da5a93ace04a5d2c389a3e9e513f090f1e
parente01fa565dfbbda68b1fb3cfe62abc02a720f37be
spl: spl_imx_container: Delete uninitialized variable

The 'overhead' variable is uninitialized and actually shall not be used.
Delete it to fix coverity CID 37041718 - Uninitialized scalar variable.

Fixes: 73c40fcb7367 ("spl: Refactor spl_load_info->read to use units of bytes")
Reported-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Andrew Goodbody <andrew.goodbody@linaro.org>
common/spl/spl_imx_container.c