[U-Boot] [PATCH] fat: fix unaligned errors
Mike Frysinger
vapier at gentoo.org
Fri Jan 2 11:16:46 CET 2009
On Friday 02 January 2009 04:32:39 Remy Bohmer wrote:
> 2009/1/2 Mike Frysinger <vapier at gentoo.org>:
> > From: Bryan Wu <bryan.wu at analog.com>
> > A couple of buffers in the fat code are declared as an array of bytes.
> > But it is then cast up to a structure with 16bit and 32bit members.
> > Since GCC assumes structure alignment here, we have to force the buffers
> > to be aligned according to the structure usage.
>
> Just curious (because before the Christmas holidays I was also
> debugging some FAT problems, and maybe this is related)
> What problem/symptoms does this patch fix? How did the bug show itself?
i think should cover all your questions ...
http://blackfin.uclinux.org/gf/tracker/4765
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090102/19a9146d/attachment.pgp
More information about the U-Boot
mailing list