Unverified Commit d22627ff authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents 797d4bfa 78d28a2d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -817,6 +817,8 @@ static blk_status_t nvme_setup_prp_simple(struct nvme_dev *dev,
	cmnd->dptr.prp1 = cpu_to_le64(iod->first_dma);
	if (bv->bv_len > first_prp_len)
		cmnd->dptr.prp2 = cpu_to_le64(iod->first_dma + first_prp_len);
	else
		cmnd->dptr.prp2 = 0;
	return BLK_STS_OK;
}