u-boot-dfu-20240209

- sparse error checking fix when using raw chunks
- 2 new additions (AVB, AB) of myself to the MAINTAINERS file
This commit is contained in:
Tom Rini 2024-02-09 09:00:42 -05:00
commit d7aaaf4223
2 changed files with 3 additions and 1 deletions

View file

@ -59,6 +59,7 @@ F: lib/acpi/
ANDROID AB
M: Igor Opaniuk <igor.opaniuk@gmail.com>
M: Mattijs Korpershoek <mkorpershoek@baylibre.com>
R: Sam Protsenko <semen.protsenko@linaro.org>
S: Maintained
F: boot/android_ab.c
@ -69,6 +70,7 @@ F: test/py/tests/test_android/test_ab.py
ANDROID AVB
M: Igor Opaniuk <igor.opaniuk@gmail.com>
M: Mattijs Korpershoek <mkorpershoek@baylibre.com>
S: Maintained
F: cmd/avb.c
F: common/avb_verify.c

View file

@ -211,7 +211,7 @@ int write_sparse_image(struct sparse_storage *info,
blks = write_sparse_chunk_raw(info, blk, blkcnt,
data, response);
if (blks < 0)
if (IS_ERR_VALUE(blks))
return -1;
blk += blks;