diff options
author | Rommel Custodio <sessyargc+uboot@gmail.com> | 2013-07-21 10:53:25 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-07-22 10:09:30 -0400 |
commit | 8b415f703f88d1d3b0466830047affbbf7f24913 (patch) | |
tree | 091065fb1ea38405155a4ed0fffa53a2a82a031d /board/xes/common/board.c | |
parent | b899fa39019c8fecb508f747525dd8c22622e804 (diff) | |
download | u-boot-imx-8b415f703f88d1d3b0466830047affbbf7f24913.zip u-boot-imx-8b415f703f88d1d3b0466830047affbbf7f24913.tar.gz u-boot-imx-8b415f703f88d1d3b0466830047affbbf7f24913.tar.bz2 |
ext4fs: le32_to_cpu() used on a 16-bit field
Fix reading ext4_extent_header struture on BE machines. Some 16 bit
fields where converted to 32 bit fields, due to the byte swap on BE
machines the containing value was corrupted. Therefore reading ext4
filesystems on BE machines where broken before.
Signed-off-by: Rommel Custodio <sessyargc+uboot@gmail.com>
[sent via git-send-email; rework commit message]
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'board/xes/common/board.c')
0 files changed, 0 insertions, 0 deletions