[PATCH 1/1] fs/fat: avoid noisy message fat_read_file()

Ilias Apalodimas ilias.apalodimas at linaro.org
Thu Jan 19 16:56:05 CET 2023


On Thu, 19 Jan 2023 at 17:17, Tom Rini <trini at konsulko.com> wrote:
>
> 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>

Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>

>
> --
> Tom


More information about the U-Boot mailing list