On 08/09/2018 08:37 PM, Heinrich Schuchardt wrote:
> The debug message in file_fat_read_at() is not very useful without
> indicating the position at which the file is read.
> 
> Suggested-by: Tero Kristo <t-kri...@ti.com>
> Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de>
> ---
>  fs/fat/fat.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/fat/fat.c b/fs/fat/fat.c
> index 4efe8a3eda..27004823cd 100644
> --- a/fs/fat/fat.c
> +++ b/fs/fat/fat.c
> @@ -1095,7 +1095,7 @@ int file_fat_read_at(const char *filename, loff_t pos, 
> void *buffer,
>       if (ret)
>               goto out_free_both;
>  
> -     debug("reading %s\n", filename);
> +     debug("reading %s at %llx\n", filename, pos);
>       ret = get_contents(&fsdata, itr->dent, pos, buffer, maxsize, actread);
>  
>  out_free_both:
> 
Superseded by:
fs/fat: debug-print file read position during file_fat_read_at()
https://lists.denx.de/pipermail/u-boot/2018-August/338289.html
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to