linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] mmc: core: Silence compiler warning in __mmc_switch
@ 2013-10-28 18:46 Ulf Hansson
  2013-10-28 18:46 ` [PATCH 2/2] mmc: wbsd: Silence compiler warning Ulf Hansson
  0 siblings, 1 reply; 2+ messages in thread
From: Ulf Hansson @ 2013-10-28 18:46 UTC (permalink / raw)
  To: linux-mmc, Chris Ball; +Cc: Ulf Hansson

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
---
 drivers/mmc/core/mmc_ops.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/core/mmc_ops.c b/drivers/mmc/core/mmc_ops.c
index aae8d8b..e5b5eeb 100644
--- a/drivers/mmc/core/mmc_ops.c
+++ b/drivers/mmc/core/mmc_ops.c
@@ -414,7 +414,7 @@ int __mmc_switch(struct mmc_card *card, u8 set, u8 index, u8 value,
 	int err;
 	struct mmc_command cmd = {0};
 	unsigned long timeout;
-	u32 status;
+	u32 status = 0;
 	bool ignore_crc = false;
 
 	BUG_ON(!card);
-- 
1.7.9.5


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

end of thread, other threads:[~2013-10-28 18:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-28 18:46 [PATCH 1/2] mmc: core: Silence compiler warning in __mmc_switch Ulf Hansson
2013-10-28 18:46 ` [PATCH 2/2] mmc: wbsd: Silence compiler warning Ulf Hansson

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).