public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 11/11] mtip32xx: Change disk capacity unit from MB to MiB
@ 2012-05-30  1:45 Asai Thambi S P
  0 siblings, 0 replies; only message in thread
From: Asai Thambi S P @ 2012-05-30  1:45 UTC (permalink / raw)
  To: Jens Axboe, linux-kernel@vger.kernel.org, Sam Bradshaw


Disk capacity is calculated as power of 2, but displayed as MB. Change the
unit to MiB.

Reported-by: Robert Elliott <Elliott@hp.com>
Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
---
 drivers/block/mtip32xx/mtip32xx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/block/mtip32xx/mtip32xx.c b/drivers/block/mtip32xx/mtip32xx.c
index 18daa04..411276d 100644
--- a/drivers/block/mtip32xx/mtip32xx.c
+++ b/drivers/block/mtip32xx/mtip32xx.c
@@ -1759,7 +1759,7 @@ static void mtip_dump_identify(struct mtip_port *port)
 
 	if (mtip_hw_get_capacity(port->dd, &sectors))
 		dev_info(&port->dd->pdev->dev,
-			"Capacity: %llu sectors (%llu MB)\n",
+			"Capacity: %llu sectors (%llu MiB)\n",
 			 (u64)sectors,
 			 ((u64)sectors) * ATA_SECT_SIZE >> 20);
 
-- 
1.7.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-30  1:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-30  1:45 [PATCH 11/11] mtip32xx: Change disk capacity unit from MB to MiB Asai Thambi S P

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox