]> git.dujemihanovic.xyz Git - u-boot.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)
commitde9433550b01547c3207de9f7060092242c91569
tree66d95ac2cb225563968eb63f775b74e936634426
parent53c47c59e638cc118c272235db516bb541dad0ac
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