[PATCH] tools: env: fw_env: Fix unused-result warning
Tom Rini
trini at konsulko.com
Thu Dec 8 21:23:07 CET 2022
On Thu, Oct 13, 2022 at 05:41:21PM +0900, Jaehoon Chung wrote:
> Fix unused-result warning about fread.
>
> tools/env/fw_env.c: In function ‘find_nvmem_device’:
> tools/env/fw_env.c:1751:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
> 1751 | fread(buf, sizeof(buf), 1, fp);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
Applied to u-boot/next, 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/20221208/c98f5d82/attachment.sig>
More information about the U-Boot
mailing list