[PATCH 1/1] fs/fat: avoid noisy message fat_read_file()
Tom Rini
trini at konsulko.com
Thu Jan 19 16:17:43 CET 2023
On Thu, Jan 19, 2023 at 04:16:24PM +0100, Heinrich Schuchardt wrote:
> On 1/19/23 16:13, Tom Rini wrote:
> > On Thu, Jan 19, 2023 at 04:11:48PM +0100, Heinrich Schuchardt wrote:
> >
> > > 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 at canonical.com>
> >
> > With this change, what is the output when you "fatload" a non-existent
> > file?
> >
> => host bind 0 ../../sandbox.img
> => fatload host 0:1 $loadaddr voodoo
> Failed to load 'voodoo'
Thanks.
Reviewed-by: Tom Rini <trini at konsulko.com>
--
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/20230119/3377c44b/attachment.sig>
More information about the U-Boot
mailing list