On Sat, Apr 12, 2014 at 05:16:18PM +0800, Zheng Liu wrote: > From: Zheng Liu <wenqing.lz@xxxxxxxxxx> > > This commit tries to fix some byte order issues that is found by sparse > check. > > $ make M=fs/ext4 C=2 CF=-D__CHECK_ENDIAN__ > ... > CHECK fs/ext4/extents.c > fs/ext4/extents.c:5232:41: warning: restricted __le32 degrades to integer > fs/ext4/extents.c:5236:52: warning: bad assignment (-=) to restricted __le32 > fs/ext4/extents.c:5258:45: warning: bad assignment (-=) to restricted __le32 > fs/ext4/extents.c:5303:28: warning: restricted __le32 degrades to integer > fs/ext4/extents.c:5318:18: warning: incorrect type in assignment (different base types) > fs/ext4/extents.c:5318:18: expected unsigned int [unsigned] [usertype] ex_start > fs/ext4/extents.c:5318:18: got restricted __le32 [usertype] ee_block > fs/ext4/extents.c:5319:24: warning: restricted __le32 degrades to integer > fs/ext4/extents.c:5334:31: warning: incorrect type in assignment (different base types) > ... > > Cc: "Theodore Ts'o" <tytso@xxxxxxx> > Cc: Andreas Dilger <adilger.kernel@xxxxxxxxx> > Cc: Namjae Jeon <namjae.jeon@xxxxxxxxxxx> > Signed-off-by: Zheng Liu <wenqing.lz@xxxxxxxxxx> Thanks, queued for the 3.15 bugfix push. - 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