Fix parsing of Product Revision and Serial Number
A message that is not in the archive (sent off-list or not yet received): 1351172418.3304142.1547483917896.JavaMail.root@zimbra64-e11.priv.proxad.net
A message that is not in the archive (sent off-list or not yet received): 1823652044.3512532.1547484650178.JavaMail.root@zimbra64-e11.priv.proxad.net
A message that is not in the archive (sent off-list or not yet received): SN6PR04MB49257FCC0D21341EDB735C1FFC810@SN6PR04MB4925.namprd04.prod.outlook.com
Ulf Hansson
AppliedQuoted 7 lines · Avri Altman
Quoted 5 lines
According to MMC Standard (similar to SDCard Standard).
Signed-off-by Stephane Fillod <[email protected]>Acked-by Avri Altman <[email protected]>
Applied to git.kernel.org/pub/scm/utils/mmc/mmc-utils.git master, thanks!
Kind regards
Uffe
Quoted 17 lines
Quoted 17 lines
---
Rem: the field parsing order is fine in
print_sd_cid().lsmmc.c +1
-1@@ -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' ;