sb->feature_map is __le32, add missing cpu_to_le32() Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx> Signed-off-by: Song Liu <songliubraving@xxxxxx> --- drivers/md/md.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/md.c b/drivers/md/md.c index 378b9f0..163b548 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -1812,7 +1812,7 @@ retry: sb->dev_roles[i] = cpu_to_le16(MD_DISK_ROLE_FAULTY); if (test_bit(MD_HAS_JOURNAL, &mddev->flags)) - sb->feature_map |= MD_FEATURE_JOURNAL; + sb->feature_map |= cpu_to_le32(MD_FEATURE_JOURNAL); rdev_for_each(rdev2, mddev) { i = rdev2->desc_nr; -- 2.4.6 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html