From patchwork Sat Apr 9 06:16:47 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= X-Patchwork-Id: 695741 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p396GoM4027985 for ; Sat, 9 Apr 2011 06:16:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752445Ab1DIGQt (ORCPT ); Sat, 9 Apr 2011 02:16:49 -0400 Received: from rere.qmqm.pl ([89.167.52.164]:39644 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752355Ab1DIGQt (ORCPT ); Sat, 9 Apr 2011 02:16:49 -0400 Received: by rere.qmqm.pl (Postfix, from userid 1000) id D5DAE13909; Sat, 9 Apr 2011 08:16:47 +0200 (CEST) From: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= Subject: [PATCH] mmc: mmc_add_card(): fix missing break in switch statement MIME-Version: 1.0 To: linux-mmc@vger.kernel.org Cc: Chris Ball , Prashanth Bhat Message-Id: <20110409061647.D5DAE13909@rere.qmqm.pl> Date: Sat, 9 Apr 2011 08:16:47 +0200 (CEST) Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sat, 09 Apr 2011 06:16:51 +0000 (UTC) Fixes a cosmetic bug that affects printk() for SD-combo cards. Noticed-by: Prashanth Bhat Signed-off-by: Micha? Miros?aw --- 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;