nvme: Fix error in nvme_setup_prps
authorJon Lin <jon.lin@rock-chips.com>
Tue, 19 Oct 2021 02:40:54 +0000 (10:40 +0800)
committerTom Rini <trini@konsulko.com>
Wed, 17 Nov 2021 22:09:47 +0000 (17:09 -0500)
commitc4eef59faab6ae4ecb1beae6d4391b0889bc3ff3
treefc938a67293c82513b51d6627e2f2608b51e5af6
parentb6bfb8971dd039a60e1cff1895ab9be8be0915b3
nvme: Fix error in nvme_setup_prps

Consulting to "NVM Express® Base Specification, revision 2.0".

If more PRP List pages are required, then the last entry of
the PRP List contains the Page Base Address of the next PRP
List page. The next PRP List page shall be memory page aligned.

Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
drivers/nvme/nvme.c