]> git.dujemihanovic.xyz Git - u-boot.git/commit
nvme: Correct the prps per page calculation method
authorWesley Sheng <wesleyshenggit@sina.com>
Tue, 22 Jun 2021 03:34:21 +0000 (11:34 +0800)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 23 Jun 2021 09:21:14 +0000 (17:21 +0800)
commit859b33c948945f7904f60a2c12a3792d356d51ad
treeeb9601cb30f209820292c8e05a824f4ffd7a3e58
parentb12f62374e83675bc65174c2b4b7e3c6c368aa78
nvme: Correct the prps per page calculation method

Each prp is 8 bytes, calculate the number of prps
per page should just divide page size by 8
there is no need to minus 1

Signed-off-by: Wesley Sheng <wesleyshenggit@sina.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/nvme/nvme.c