]> git.dujemihanovic.xyz Git - u-boot.git/commit
bloblist: check bloblist with specified buffer size
authorRaymond Mao <raymond.mao@linaro.org>
Sat, 3 Feb 2024 16:36:21 +0000 (08:36 -0800)
committerTom Rini <trini@konsulko.com>
Thu, 29 Feb 2024 14:24:22 +0000 (09:24 -0500)
commit67254214930cd2cb52279b01690c1f820a7f83db
tree66583957697b633a9f826a7d3a029ee84606f032
parent1c4751fd1ac7bda72ab72ce352dc9b2131df2807
bloblist: check bloblist with specified buffer size

Instead of expecting the bloblist total size to be the same as the
pre-allocated buffer size, practically we are more interested in
whether the pre-allocated buffer size is bigger than the bloblist
total size.

Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
common/bloblist.c
include/bloblist.h
test/bloblist.c