diff options
author | Keith Busch <kbusch@kernel.org> | 2022-12-19 13:54:55 -0800 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-12-21 09:17:30 +0100 |
commit | 841734234a28fd5cd0889b84bd4d93a0988fa11e (patch) | |
tree | b364a44eec72d36d7ce14a603143f07803615c3e /drivers/usb/cdns3/cdns3-trace.c | |
parent | c89a529e823d51dd23c7ec0c047c7a454a428541 (diff) |
nvme-pci: fix page size checks
The size allocated out of the dma pool is at most NVME_CTRL_PAGE_SIZE,
which may be smaller than the PAGE_SIZE.
Fixes: c61b82c7b7134 ("nvme-pci: fix PRP pool size")
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions