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

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Thu Jan 19 16:16:24 CET 2023


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'

Best regards

Heinrich


More information about the U-Boot mailing list