[PATCH] nvme: Correct the prps per page calculation method
Bin Meng
bmeng.cn at gmail.com
Wed Jun 23 11:18:52 CEST 2021
On Wed, Jun 23, 2021 at 4:53 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> 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>
applied to u-boot-x86, thanks!
More information about the U-Boot
mailing list