Marek Vasut <marex <at> denx.de> wrote:
> In case a function argument is known/fixed size array in C, the argument is
> still decoyed as pointer instead ( T f(U n[k]) ~= T fn(U *n) ) and therefore
> calling sizeof on the function argument will result in the size of the 
> pointer,
> not the size of the array.
> 
> The VFAT code contains such a bug, this patch fixes it.
> 

I had the same problem with VFAT formatted USB stick on U-Boot 2013.01 as
the original bug reported by Michail Simek.
I have not made any deeper analysis of your patch, but it solved the problem.

Thanks!
BR / Mats
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to