
6 Feb
2024
6 Feb
'24
1:49 p.m.
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/09709a57d8b11fa...
-- Mattijs