From: Tom Rini Date: Mon, 22 Jul 2013 10:11:53 -0400 Subject: [U-Boot] ext4fs: le32_to_cpu() used on a 16-bit field In-Reply-To: <1374396805-3008-2-git-send-email-andreas.devel@googlemail.com> References: <1374396805-3008-2-git-send-email-andreas.devel@googlemail.com> Message-ID: <20130722141153.GX18359@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Jul 21, 2013 at 10:53:25AM +0200, Andreas Bie??mann wrote: > From: Rommel Custodio > > 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 > [sent via git-send-email; rework commit message] > Signed-off-by: Andreas Bie??mann > Reviewed-by: Simon Glass > Tested-by: Simon Glass > Tested-by: Lukasz Majewski So I gave the changes a review myself based on how the kernel accesses these fields and agree the changes are correct. I also did a quick test on beaglebone black and was able to read (and confirmed crc32) a few files correctly still. Applied to u-boot/master with a re-wrapping of the commit message, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: