diff options
author | Tom Rini <trini@konsulko.com> | 2024-02-09 09:00:42 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-02-09 09:00:42 -0500 |
commit | d7aaaf4223d0a2f9f8c9eed47d7431860b3116d8 (patch) | |
tree | 73d5e952238ff593eb312a226aa09a6ed2afc404 /lib/image-sparse.c | |
parent | a4650bf65e4b7d3ef04c90ba8031374428e4a682 (diff) | |
parent | 766f04a297e892d5106f7f7ac8b43c69bd8a6007 (diff) |
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
Diffstat (limited to 'lib/image-sparse.c')
-rw-r--r-- | lib/image-sparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/image-sparse.c b/lib/image-sparse.c index f8289064692..09225692e9b 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; |