commit | 18ca44962bea5b679fc79305706fc4ed31f97124 | [log] [tgz] |
---|---|---|
author | Jaehoon Chung <jh80.chung@samsung.com> | Thu Oct 13 17:41:21 2022 +0900 |
committer | Tom Rini <trini@konsulko.com> | Thu Dec 08 09:25:44 2022 -0500 |
tree | aaa2f77de5e4136cdd6533452f122bc84712c1dc | |
parent | 7e5b1575f364aec793c822e24c59cdbc0625a79c [diff] |
tools: env: fw_env: Fix unused-result warning 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@samsung.com>