aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-02-09 09:00:42 -0500
committerTom Rini <trini@konsulko.com>2024-02-09 09:00:42 -0500
commitd7aaaf4223d0a2f9f8c9eed47d7431860b3116d8 (patch)
tree73d5e952238ff593eb312a226aa09a6ed2afc404
parenta4650bf65e4b7d3ef04c90ba8031374428e4a682 (diff)
parent766f04a297e892d5106f7f7ac8b43c69bd8a6007 (diff)
downloadu-boot-d7aaaf4223d0a2f9f8c9eed47d7431860b3116d8.zip
u-boot-d7aaaf4223d0a2f9f8c9eed47d7431860b3116d8.tar.gz
u-boot-d7aaaf4223d0a2f9f8c9eed47d7431860b3116d8.tar.bz2
Merge tag 'u-boot-dfu-20240209' of https://source.denx.de/u-boot/custodians/u-boot-dfu
u-boot-dfu-20240209 - sparse error checking fix when using raw chunks - 2 new additions (AVB, AB) of myself to the MAINTAINERS file
-rw-r--r--MAINTAINERS2
-rw-r--r--lib/image-sparse.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index da477a4..46ba176 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -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
diff --git a/lib/image-sparse.c b/lib/image-sparse.c
index f828906..0922569 100644
--- a/lib/image-sparse.c
+++ b/lib/image-sparse.c
@@ -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;