]> err.no Git - linux-2.6/commit
mmc: Fix sg helper copy-and-paste error
authorRoland Dreier <roland@digitalvampire.org>
Thu, 8 Nov 2007 12:50:58 +0000 (13:50 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 8 Nov 2007 12:50:58 +0000 (13:50 +0100)
commit8578007065bd27ec077a74b5814f0fe4df040180
tree03a92735be6a0d1e6234cb73387c1cf8de1073e5
parentfffe487d59ba4017c7c62b06667ca4a226cee651
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 <roland@digitalvampire.org>
Tested-by: Romano Giannetti <romano.giannetti@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/mmc/card/queue.c