Re: [patch] Fix a bit/byte counting error in the MMC/SD code

2005-08-05 Thread Pierre Ossman
Richard Purdie wrote:
> This fixes what looks like a bit/byte counting error in the MMC/SD code
> which was causing data corruption (in the -mm tree).
> 
> Signed-off-by: Richard Purdie <[EMAIL PROTECTED]>

Ooops... Must have been late in the evening. Sorry about that blunder.

Rgds
Pierre
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [patch] Fix a bit/byte counting error in the MMC/SD code

2005-08-05 Thread Pierre Ossman
Richard Purdie wrote:
 This fixes what looks like a bit/byte counting error in the MMC/SD code
 which was causing data corruption (in the -mm tree).
 
 Signed-off-by: Richard Purdie [EMAIL PROTECTED]

Ooops... Must have been late in the evening. Sorry about that blunder.

Rgds
Pierre
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[patch] Fix a bit/byte counting error in the MMC/SD code

2005-08-04 Thread Richard Purdie
This fixes what looks like a bit/byte counting error in the MMC/SD code
which was causing data corruption (in the -mm tree).

Signed-off-by: Richard Purdie <[EMAIL PROTECTED]>

Index: linux-2.6.12/drivers/mmc/mmc.c
===
--- linux-2.6.12.orig/drivers/mmc/mmc.c 2005-08-04 22:27:44.0 +0100
+++ linux-2.6.12/drivers/mmc/mmc.c  2005-08-04 22:30:02.0 +0100
@@ -923,7 +923,7 @@
mrq.cmd = 
mrq.data = 
 
-   sg_init_one(, (u8*)card->raw_scr, 64);
+   sg_init_one(, (u8*)card->raw_scr, 8);
 
err = mmc_wait_for_req(host, );
if (err != MMC_ERR_NONE) {

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[patch] Fix a bit/byte counting error in the MMC/SD code

2005-08-04 Thread Richard Purdie
This fixes what looks like a bit/byte counting error in the MMC/SD code
which was causing data corruption (in the -mm tree).

Signed-off-by: Richard Purdie [EMAIL PROTECTED]

Index: linux-2.6.12/drivers/mmc/mmc.c
===
--- linux-2.6.12.orig/drivers/mmc/mmc.c 2005-08-04 22:27:44.0 +0100
+++ linux-2.6.12/drivers/mmc/mmc.c  2005-08-04 22:30:02.0 +0100
@@ -923,7 +923,7 @@
mrq.cmd = cmd;
mrq.data = data;
 
-   sg_init_one(sg, (u8*)card-raw_scr, 64);
+   sg_init_one(sg, (u8*)card-raw_scr, 8);
 
err = mmc_wait_for_req(host, mrq);
if (err != MMC_ERR_NONE) {

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/