[PATCH] lib: sparse: Fix error checking for write_sparse_chunk_raw

Mattijs Korpershoek mkorpershoek at baylibre.com
Tue Feb 6 13:49:10 CET 2024


Hi,

On Thu, 01 Feb 2024 13:18:51 -0500, Sean Anderson wrote:
> The return value of write_sparse_chunk_raw is unsigned, so the existing
> check has no effect. Use IS_ERR_VALUE to detect error instead, which is
> what write_sparse_chunk_raw does itself.
> 
> 

Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu)

[1/1] lib: sparse: Fix error checking for write_sparse_chunk_raw
      https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/09709a57d8b11fa021f54b9346c1dee1dbe282fb

--
Mattijs


More information about the U-Boot mailing list