Skip to content
Snippets Groups Projects
Commit 7e4b9b4f authored by Bryan Wu's avatar Bryan Wu Committed by Wolfgang Denk
Browse files

fat: fix unaligned errors


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.

Signed-off-by: default avatarBryan Wu <bryan.wu@analog.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 68f8718d
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment