Skip to content
Commit 449ed8fc authored by Alexander Sowarka's avatar Alexander Sowarka Committed by Tom Rini
Browse files

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: default avatarAlexander Sowarka <alexander.sowarka@aerq.com>
parent f79cb490
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment