Home
last modified time | relevance | path

Searched hist:"8 d48c92b45aea91e2a2be90f2ed93677e85526f1" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/fs/fat/
H A Dfat.cb352caea752f9e840863ade43da67ff0272e8594 Thu Jan 26 20:22:36 UTC 2017 Stefan Brüns <stefan.bruens@rwth-aachen.de> fs/fat: Fix unaligned __u16 reads for FAT12 access

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@bluezbox.com>
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Tested-by: Oleksandr Tymoshenko <gonzo@bluezbox.com>
8d48c92b45aea91e2a2be90f2ed93677e85526f1 Sat Dec 17 02:55:10 UTC 2016 Stefan Brüns <stefan.bruens@rwth-aachen.de> fs/fat: simplify get_fatent for FAT12

Instead of shuffling bits from two adjacent 16 bit words, use one 16 bit
word with the appropriate byte offset in the buffer.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>