aboutsummaryrefslogtreecommitdiff
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-03-11 21:51:08 +0100
committerTom Rini <trini@konsulko.com>2020-03-13 09:30:30 -0400
commit183780491f9b45da6bec9627304b2c26169e8801 (patch)
tree8c74943543da9d47619a9cc7cfa6341fad10e148 /MAINTAINERS
parent92a19be25889f1e1689146fedda562f39053bd56 (diff)
downloadu-boot-183780491f9b45da6bec9627304b2c26169e8801.zip
u-boot-183780491f9b45da6bec9627304b2c26169e8801.tar.gz
u-boot-183780491f9b45da6bec9627304b2c26169e8801.tar.bz2
fit: check return value of fit_image_get_data_size()
GCC-10 reports: In file included from tools/common/image-fit.c:1: include/image.h: In function ‘fit_image_get_data_and_size’: ./tools/../common/image-fit.c:1015:9: warning: ‘len’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1015 | *size = len; | ~~~~~~^~~~~ ./tools/../common/image-fit.c:996:6: note: ‘len’ was declared here 996 | int len; | ^~~ Add the missing check of the return value of fit_image_get_data_size(). Fixes: c3c863880479 ("add FIT data-position & data-offset property support") Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions