> -----Original Message----- > From: Neil Brown [mailto:neilb@xxxxxxxx] > Sent: Wednesday, October 14, 2015 11:37 PM > To: Song Liu <songliubraving@xxxxxx>; linux-raid@xxxxxxxxxxxxxxx > Cc: Song Liu <songliubraving@xxxxxx>; Shaohua Li <shli@xxxxxx> > Subject: Re: [PATCH] MD: fix missing cpu_to_le32 for > MD_FEATURE_JOURNAL > > Song Liu <songliubraving@xxxxxx> writes: > > > 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 > > Thanks. > I just emrged this in rather than create a new patch. > > NeilBrown That's awesome! Thanks, Song -- 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