Skip to content
Commit 85780070 authored by Roland Dreier's avatar Roland Dreier Committed by Jens Axboe
Browse files

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: default avatarRoland Dreier <roland@digitalvampire.org>
Tested-by: default avatarRomano Giannetti <romano.giannetti@gmail.com>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent fffe487d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment