[PATCH] env: sf: report malloc error to caller

Tom Rini trini at konsulko.com
Tue Jan 30 02:54:11 CET 2024


On Fri, 19 Jan 2024 16:32:17 -0500, Ralph Siemsen wrote:

> In the non-redundant code for env_sf_save(), a failure to malloc() the
> temporary buffer produces the following output:
> 
>     Saving Environment to SPIFlash... OK
> 
> This is misleading as the flash has neither been erased nor written.
> 
> [...]

Applied to u-boot/master, thanks!

-- 
Tom




More information about the U-Boot mailing list