[U-Boot] [U-Boot, v2] fs/fat: Fix unaligned __u16 reads for FAT12 access

Tom Rini trini at konsulko.com
Sat Jan 28 23:46:02 CET 2017


On Thu, Jan 26, 2017 at 08:22:36PM +0000, Stefan Brüns wrote:

> Doing unaligned reads is not supported on all architectures, use
> byte sized reads of the little endian buffer.
> Rename off16 to off8, as it reflects the buffer offset in byte
> granularity (offset is in entry, i.e. 12 bit, granularity).
> Fix a regression introduced in 8d48c92b45aea91e2a2be90f2ed93677e85526f1
> 
> Reported-by: Oleksandr Tymoshenko <gonzo at bluezbox.com>
> Signed-off-by: Stefan Brüns <stefan.bruens at rwth-aachen.de>
> Tested-by: Oleksandr Tymoshenko <gonzo at bluezbox.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170128/d84e216f/attachment.sig>


More information about the U-Boot mailing list