[PATCH] nvme: Correct the prps per page calculation method

Bin Meng bmeng.cn at gmail.com
Wed Jun 23 10:53:20 CEST 2021


On Tue, Jun 22, 2021 at 11:34 AM Wesley Sheng <wesley.sheng at amd.com> wrote:
>
> From: Wesley Sheng <wesleyshenggit at sina.com>
>
> 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 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