summaryrefslogtreecommitdiffstats
path: root/tools/pblimage.h
diff options
context:
space:
mode:
authorRommel Custodio <sessyargc+uboot@gmail.com>2013-07-21 10:53:25 +0200
committerTom Rini <trini@ti.com>2013-07-22 10:09:30 -0400
commit8b415f703f88d1d3b0466830047affbbf7f24913 (patch)
tree091065fb1ea38405155a4ed0fffa53a2a82a031d /tools/pblimage.h
parentb899fa39019c8fecb508f747525dd8c22622e804 (diff)
downloadtalos-obmc-uboot-8b415f703f88d1d3b0466830047affbbf7f24913.tar.gz
talos-obmc-uboot-8b415f703f88d1d3b0466830047affbbf7f24913.zip
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 'tools/pblimage.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud