diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/nvme/nvme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/nvme.c b/drivers/nvme/nvme.c index 5d39cab90d..2ae947c672 100644 --- a/drivers/nvme/nvme.c +++ b/drivers/nvme/nvme.c @@ -431,7 +431,7 @@ int nvme_identify(struct nvme_dev *dev, unsigned nsid, c.identify.prp2 = 0; } else { dma_addr += (page_size - offset); - c.identify.prp2 = dma_addr; + c.identify.prp2 = cpu_to_le64(dma_addr); } c.identify.cns = cpu_to_le32(cns); |