On Tue, 15 Jan 2019 at 11:38, Avri Altman <Avri.Altman@xxxxxxx> wrote: > > > > > According to MMC Standard (similar to SDCard Standard). > > > > Signed-off-by: Stephane Fillod <f8cfe@xxxxxxx> > Acked-by: Avri Altman <avri.altman@xxxxxxx> > Applied to git.kernel.org/pub/scm/utils/mmc/mmc-utils.git master, thanks! Kind regards Uffe > > --- > > > > Rem: the field parsing order is fine in print_sd_cid(). > > > > diff --git a/lsmmc.c b/lsmmc.c > > index 9737b37..98c0c4d 100644 > > --- a/lsmmc.c > > +++ b/lsmmc.c > > @@ -550,7 +582,7 @@ void print_mmc_cid(struct config *config, char *cid) > > unsigned int crc; > > > > parse_bin(cid, "8u6r2u8u48a4u4u32u4u4u7u1r", > > - &mid, &cbx, &oid, &pnm[0], &psn, &prv_major, &prv_minor, > > + &mid, &cbx, &oid, &pnm[0], &prv_major, &prv_minor, &psn, > > &mdt_year, &mdt_month, &crc); > > > > pnm[6] = '\0';