search for: part_md

Displaying 2 results from an estimated 2 matches for "part_md".

Did you mean: part_id
2015 Mar 13
0
[PATCH] sd, mmc, virtio_blk, string_helpers: fix block size units
...gical blocks (%s/%s)\n", > diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c > index c69afb5..2fc4269 100644 > --- a/drivers/mmc/card/block.c > +++ b/drivers/mmc/card/block.c > @@ -2230,7 +2230,7 @@ static int mmc_blk_alloc_part(struct mmc_card *card, > part_md->part_type = part_type; > list_add(&part_md->part, &md->part); > > - string_get_size((u64)get_capacity(part_md->disk) << 9, STRING_UNITS_2, > + string_get_size((u64)get_capacity(part_md->disk), 512, STRING_UNITS_2, >...
2015 Mar 13
0
[PATCH] sd, mmc, virtio_blk, string_helpers: fix block size units
...gical blocks (%s/%s)\n", > diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c > index c69afb5..2fc4269 100644 > --- a/drivers/mmc/card/block.c > +++ b/drivers/mmc/card/block.c > @@ -2230,7 +2230,7 @@ static int mmc_blk_alloc_part(struct mmc_card *card, > part_md->part_type = part_type; > list_add(&part_md->part, &md->part); > > - string_get_size((u64)get_capacity(part_md->disk) << 9, STRING_UNITS_2, > + string_get_size((u64)get_capacity(part_md->disk), 512, STRING_UNITS_2, >...