diff options
author | Keith Busch <kbusch@kernel.org> | 2022-09-07 09:42:07 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-09-19 18:55:25 +0300 |
commit | c4c22c52081385f026b430f35776f80073a22076 (patch) | |
tree | 087c440cfdebce225cc33bac23359b519576c78b /drivers/nvme/host | |
parent | c372cdd1efdf2b8e51fdde36a2a05c263ab5ebb7 (diff) | |
download | linux-c4c22c52081385f026b430f35776f80073a22076.tar.xz |
nvme-pci: move iod dma_len fill gaps
The 32-bit field, dma_len, packs better in the iod struct above the
dma_addr_t on 64-bit systems.
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host')
-rw-r--r-- | drivers/nvme/host/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index a553062ff3ba..70b1922c8953 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -230,8 +230,8 @@ struct nvme_iod { bool aborted; s8 nr_allocations; /* PRP list pool allocations. 0 means small pool in use */ - dma_addr_t first_dma; unsigned int dma_len; /* length of single DMA segment mapping */ + dma_addr_t first_dma; dma_addr_t meta_dma; struct sg_table sgt; }; |