linux-stable/drivers/nvme
Keith Busch e255206af0 nvme-pci: fix page size checks
[ Upstream commit 841734234a ]

The size allocated out of the dma pool is at most NVME_CTRL_PAGE_SIZE,
which may be smaller than the PAGE_SIZE.

Fixes: c61b82c7b7 ("nvme-pci: fix PRP pool size")
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-04 11:26:23 +01:00
..
common
host nvme-pci: fix page size checks 2023-01-04 11:26:23 +01:00
target
Kconfig
Makefile