Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8efb83a2 authored by Franck Jullien's avatar Franck Jullien Committed by Chris Ball
Browse files

mmc: fix null pointer use in mmc_blk_remove_req



A previous commit (fdfa20c1) 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: default avatarFranck Jullien <franck.jullien@gmail.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 4be7085f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment