[PATCH] tools: fw_env: Fix warning when reading too little

Tom Rini trini at konsulko.com
Wed Jun 3 18:26:57 CEST 2020


On Thu, May 28, 2020 at 05:54:45PM +0200, Harald Seiler wrote:

> When using CONFIG_ENV_IS_IN_FAT and the config-file specifies a size
> larger than what U-Boot wrote into the env-file, a confusing error
> message is shown:
> 
>     $ fw_printenv
>     Read error on /boot/uboot.env: Success
> 
> Fix this by showing a different error message when read returns too
> little data.
> 
> Signed-off-by: Harald Seiler <hws at denx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200603/30965a4c/attachment.sig>


More information about the U-Boot mailing list