Unverified Commit 9a318f70 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!3122 nvme: retain split access workaround for capability reads

parents d2d926ee 882e157f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2428,7 +2428,7 @@ static int nvme_pci_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val)

static int nvme_pci_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val)
{
	*val = readq(to_nvme_dev(ctrl)->bar + off);
	*val = lo_hi_readq(to_nvme_dev(ctrl)->bar + off);
	return 0;
}