Re: [PATCH] e2fsprogs: fix type-punning warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
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


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux