summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlexander Sowarka <[email protected]>2022-08-28 21:30:20 +0200
committerTom Rini <[email protected]>2022-09-15 09:55:30 -0400
commit4ca8d95ce1e71995052e81f1854a23803ca48b73 (patch)
tree7e58f52c635ff449dd12eb18f3197cb2d6ccf782 /include/linux
parent9895bda2ed09fe6b38f553022c263d5aa975cf99 (diff)
nvme: Fix multipage prp-list
The nvme driver falsely assumed that the last entry on a page of the prp-list always points to the next page of the prp-list. This potentially can lead to the illegal creation of pages on the prp-list with only a single entry. This change now ensures that splitting the prp-list into multiple pages, behaves now as required by the NVME-Spec. Related to this, also the size of the memory allocation is adjusted accordingly. Signed-off-by: Alexander Sowarka <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions