]> git.baikalelectronics.ru Git - uboot.git/commit
fs/fat: avoid noisy message fat_read_file()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 19 Jan 2023 14:37:40 +0000 (15:37 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 20 Jan 2023 15:38:52 +0000 (16:38 +0100)
commit15f86a6c26e5c9aaa64b7a98353fec497a13f7b4
tree66d95ac2cb225563968eb63f775b74e936634426
parent5199ce8b329f7cb22a6b32695c1df40607f2a50a
fs/fat: avoid noisy message fat_read_file()

UEFI applications call file system functions to determine if a file exists.
The return codes are evaluated to show appropriate messages.
U-Boot's file system layer should not interfere with the output.

Rename file_fat_read_at() to fat_read_file() adjusting the parameter
sequence and names and eliminate the old wrapper function.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
fs/fat/fat.c
include/fat.h