[PATCH] nvme: Correct the prps per page calculation method
Bin Meng
bmeng.cn at gmail.com
Fri Jun 18 08:00:24 CEST 2021
On Wed, Jun 16, 2021 at 12:09 PM Wesley Sheng <wesley.sheng at amd.com> wrote:
>
> From: wesleywesley <wesleyshenggit at sina.com>
nits: are you sure this name is correct? Should it be "Wesley Sheng"?
>
> 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: wesleywesley <wesleyshenggit at sina.com>
> ---
> drivers/nvme/nvme.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list