[U-Boot] [U-Boot, RFC] ext4fs: le32_to_cpu() used on a 16-bit field

Pavel Machek pavel at denx.de
Mon Aug 5 09:31:55 CEST 2013


Hi!

> U-Boot 2013.07-rc3 [ELDK 5.2.1 / ELDK 5.3]
> 
> Now I've started to use the new ext4 code. I need the "ext4write" command.
> Though there seems to be several problems with the ext2/ext4 code.
> 
> I am testing on an ml507 (PPC440, Big Endian).
> There are some cases where the a field is 16-bit but le32_to_cpu() is used.
> Some checks (ie eh_magic) fails to match even if I use a correctly ext4 
> formatted MMC/SD card.
> 
> Does these seem right? Or am I mistaken?

This fixed ext4 on powerpc-based board. Thanks!

Tested-by: Pavel Machek <pavel at denx.de>
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


More information about the U-Boot mailing list