On 12/15/2010 05:09 PM, Ted Ts'o wrote: > On Tue, Dec 14, 2010 at 01:00:01PM -0600, Eric Sandeen wrote: >> Flags used during RHEL/Fedora builds lead to a couple type-punning >> warnings: >> >> recovery.c: In function 'do_one_pass': >> recovery.c:539: warning: dereferencing type-punned pointer will break strict-aliasing rules >> ./csum.c: In function 'print_csum': >> ./csum.c:170: warning: dereferencing type-punned pointer will break strict-aliasing rules >> >> The two changes below fix this up. >> >> Note that the csum test binary output changes slightly, but this does >> not break any tests. >> >> Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx> > > Thanks, applied. There's also a bone-headed big-endian compile bug > which means I'll be doing an e2fsprogs 1.41.14 shortly. > > - Ted Hm this may need an include of the e2p.h header as well, if built in a pristine buildroot... --- e2fsprogs-1.41.12.orig/lib/ext2fs/csum.c +++ e2fsprogs-1.41.12/lib/ext2fs/csum.c @@ -17,6 +17,7 @@ #include "ext2_fs.h" #include "ext2fs.h" #include "crc16.h" +#include "e2p/e2p.h" #include <assert.h> #ifndef offsetof Sorry about that, -Eric -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html