Skip to contentSkip to conversation

mmc_test: fix basic read test

PATCH In review Rabin Vincent 2 participants 2 messages Feb 13, 2009 – Feb 18, 2009 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc_test: fix basic read test

Due to a typo in the Basic Read test, it's currently identical to the Basic Write test. Fix this.

---
 drivers/mmc/card/mmc_test.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mmc/card/mmc_test.c +1 -1
index b92b172..b9f1e84 100644
@@ -494,7 +494,7 @@ static int mmc_test_basic_read(struct mmc_test_card *test)
 
 	sg_init_one(&sg, test->buffer, 512);
 
-	ret = mmc_test_simple_transfer(test, &sg, 1, 0, 1, 512, 1);
+	ret = mmc_test_simple_transfer(test, &sg, 1, 0, 1, 512, 0);
 	if (ret)
 		return ret;
 
Signature · 1 line
1.5.6.5
#1 lore raw
Quoted 5 lines · On Fri, 13 Feb 2009 22:55:26 +0530 Rabin Vincent <[email protected]> wrote:

Due to a typo in the Basic Read test, it's currently identical to the Basic Write test. Fix this.

---

Ooops. Queued. :)

Signature · 9 lines
     -- 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.