Loading drivers/mmc/core/queue.c +6 −2 Original line number Diff line number Diff line Loading @@ -359,8 +359,12 @@ static int mmc_init_request(struct request_queue *q, struct request *req, { struct mmc_queue_req *mq_rq = req_to_mmc_queue_req(req); struct mmc_queue *mq = q->queuedata; struct mmc_card *card = mq->card; struct mmc_host *host = card->host; struct mmc_host *host; if (!mq) return -ENODEV; host = mq->card->host; mq_rq->sg = mmc_alloc_sg(host->max_segs, gfp); if (!mq_rq->sg) Loading Loading
drivers/mmc/core/queue.c +6 −2 Original line number Diff line number Diff line Loading @@ -359,8 +359,12 @@ static int mmc_init_request(struct request_queue *q, struct request *req, { struct mmc_queue_req *mq_rq = req_to_mmc_queue_req(req); struct mmc_queue *mq = q->queuedata; struct mmc_card *card = mq->card; struct mmc_host *host = card->host; struct mmc_host *host; if (!mq) return -ENODEV; host = mq->card->host; mq_rq->sg = mmc_alloc_sg(host->max_segs, gfp); if (!mq_rq->sg) Loading