* [PATCH] MMC: fix bug - SDHC card capacity not correct
@ 2009-02-05 7:31 Bryan Wu
2009-02-18 5:37 ` Pierre Ossman
0 siblings, 1 reply; 2+ messages in thread
From: Bryan Wu @ 2009-02-05 7:31 UTC (permalink / raw)
To: drzeus-mmc; +Cc: linux-kernel, Yi Li, Bryan Wu
From: Yi Li <yi.li@analog.com>
Signed-off-by: Yi Li <yi.li@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
---
drivers/mmc/card/block.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
index 45b1f43..513eb09 100644
--- a/drivers/mmc/card/block.c
+++ b/drivers/mmc/card/block.c
@@ -584,7 +584,7 @@ static int mmc_blk_probe(struct mmc_card *card)
if (err)
goto out;
- string_get_size(get_capacity(md->disk) << 9, STRING_UNITS_2,
+ string_get_size((u64)get_capacity(md->disk) << 9, STRING_UNITS_2,
cap_str, sizeof(cap_str));
printk(KERN_INFO "%s: %s %s %s %s\n",
md->disk->disk_name, mmc_card_id(card), mmc_card_name(card),
--
1.5.6.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] MMC: fix bug - SDHC card capacity not correct
2009-02-05 7:31 [PATCH] MMC: fix bug - SDHC card capacity not correct Bryan Wu
@ 2009-02-18 5:37 ` Pierre Ossman
0 siblings, 0 replies; 2+ messages in thread
From: Pierre Ossman @ 2009-02-18 5:37 UTC (permalink / raw)
To: Bryan Wu; +Cc: linux-kernel, Yi Li, Bryan Wu
On Thu, 5 Feb 2009 15:31:57 +0800
Bryan Wu <cooloney@kernel.org> wrote:
> From: Yi Li <yi.li@analog.com>
>
> Signed-off-by: Yi Li <yi.li@analog.com>
> Signed-off-by: Bryan Wu <cooloney@kernel.org>
> ---
Queued, thanks.
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-18 5:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-05 7:31 [PATCH] MMC: fix bug - SDHC card capacity not correct Bryan Wu
2009-02-18 5:37 ` Pierre Ossman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome