linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mmc: mmc_add_card(): fix missing break in switch statement
@ 2011-04-09  6:16 Michał Mirosław
  2011-04-09 14:08 ` Chris Ball
  2011-05-03 11:20 ` Prashanth Bhat
  0 siblings, 2 replies; 7+ messages in thread
From: Michał Mirosław @ 2011-04-09  6:16 UTC (permalink / raw)
  To: linux-mmc; +Cc: Chris Ball, Prashanth Bhat

Fixes a cosmetic bug that affects printk() for SD-combo cards.

Noticed-by: Prashanth Bhat <prashanth.bhat@manipal.net>
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
---
 drivers/mmc/core/bus.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/mmc/core/bus.c b/drivers/mmc/core/bus.c
index 63667a8..d6d62fd 100644
--- a/drivers/mmc/core/bus.c
+++ b/drivers/mmc/core/bus.c
@@ -284,6 +284,7 @@ int mmc_add_card(struct mmc_card *card)
 		type = "SD-combo";
 		if (mmc_card_blockaddr(card))
 			type = "SDHC-combo";
+		break;
 	default:
 		type = "?";
 		break;
-- 
1.7.2.5


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-05-04 16:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-09  6:16 [PATCH] mmc: mmc_add_card(): fix missing break in switch statement Michał Mirosław
2011-04-09 14:08 ` Chris Ball
2011-05-03 11:20 ` Prashanth Bhat
2011-05-03 11:30   ` Prashanth Bhat
2011-05-04 11:23     ` Michał Mirosław
2011-05-04 16:36       ` Prashanth Bhat
2011-05-04 16:42         ` Michał Mirosław

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).