md-cluster: Fix warnings when build with CF=-D__CHECK_ENDIAN__
authorGuoqing Jiang <gqjiang@suse.com>
Fri, 16 Oct 2015 07:40:22 +0000 (15:40 +0800)
committerNeilBrown <neilb@suse.com>
Sat, 24 Oct 2015 06:16:18 +0000 (17:16 +1100)
commitcf97a348c8f700e448588bad4de3504d8d65c2f9
tree209df62d5ae4011cab2dd94d2996c243e535c31d
parentba2746b0facf83c62bebf8aed8f0a3fd446de612
md-cluster: Fix warnings when build with CF=-D__CHECK_ENDIAN__

This patches fixes sparse warnings like incorrect type in assignment
(different base types), cast to restricted __le64.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: NeilBrown <neilb@suse.com>
drivers/md/md-cluster.c