diff options
author | Franck Jullien | 2013-07-24 15:17:48 +0200 |
---|---|---|
committer | Chris Ball | 2013-08-25 05:22:04 +0200 |
commit | 8efb83a2f8518a6ffcc074177f8d659c5165ef37 (patch) | |
tree | 5861efe1369acfcfaaddc33714a520e1c2c3678c /drivers/mmc/core/mmc_ops.c | |
parent | mmc: mmc_test: replace strict_strtol() with kstrtol_from_user() (diff) | |
download | kernel-qcow2-linux-8efb83a2f8518a6ffcc074177f8d659c5165ef37.tar.gz kernel-qcow2-linux-8efb83a2f8518a6ffcc074177f8d659c5165ef37.tar.xz kernel-qcow2-linux-8efb83a2f8518a6ffcc074177f8d659c5165ef37.zip |
mmc: fix null pointer use in mmc_blk_remove_req
A previous commit (fdfa20c1631210d0) reordered the shutdown sequence
in mmc_blk_remove_req. However, mmc_cleanup_queue is now called before
we get the card pointer, and mmc_cleanup_queue sets mq->card to NULL.
This patch moves the card pointer assignment before mmc_cleanup_queue.
Signed-off-by: Franck Jullien <franck.jullien@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core/mmc_ops.c')
0 files changed, 0 insertions, 0 deletions