diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index 054b7cf993106783e149f6c6ae26a8e507fee493..f194bb7ccb04da3993a449966ae9f40f11c73e31 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -2416,7 +2416,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; }