Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8578007065bd27ec077a74b5814f0fe4df040180 Commit: 8578007065bd27ec077a74b5814f0fe4df040180 Parent: fffe487d59ba4017c7c62b06667ca4a226cee651 Author: Roland Dreier <[EMAIL PROTECTED]> AuthorDate: Thu Nov 8 13:50:58 2007 +0100 Committer: Jens Axboe <[EMAIL PROTECTED]> CommitDate: Thu Nov 8 13:50:58 2007 +0100
mmc: Fix sg helper copy-and-paste error Commit 45711f1a ("[SG] Update drivers to use sg helpers") had the following bogus change in drivers/mmc/card/queue.c: > - src_buf = page_address(src->page) + src->offset; > + src_buf = sg_virt(dst); (Notice that "src" is converted to "dst"). Turn this "dst" back into the intended "src". Signed-off-by: Roland Dreier <[EMAIL PROTECTED]> Tested-by: Romano Giannetti <[EMAIL PROTECTED]> Signed-off-by: Jens Axboe <[EMAIL PROTECTED]> --- drivers/mmc/card/queue.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/card/queue.c b/drivers/mmc/card/queue.c index 9203a0b..1b9c9b6 100644 --- a/drivers/mmc/card/queue.c +++ b/drivers/mmc/card/queue.c @@ -310,7 +310,7 @@ static void copy_sg(struct scatterlist *dst, unsigned int dst_len, } if (src_size == 0) { - src_buf = sg_virt(dst); + src_buf = sg_virt(src); src_size = src->length; } - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html