lkml.org 
[lkml]   [2021]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: Re: [PATCH v22 4/4] scsi: ufs: Add HPB 2.0 support
From
Date
> >                 }
> > }
> > @@ -532,8 +870,8 @@ static int ufshpb_execute_map_req(struct
> > ufshpb_lu *hpb,
> > if (unlikely(last))
> > mem_size = hpb->last_srgn_entries * HPB_ENTRY_SIZE;
> >
> > - ufshpb_set_read_buf_cmd(rq->cmd, map_req->rgn_idx,
> > - map_req->srgn_idx, mem_size);
> > + ufshpb_set_read_buf_cmd(rq->cmd, map_req->rb.rgn_idx,
> > + map_req->rb.srgn_idx, hpb-
> > >srgn_mem_size);
>
> Are you sure here it is hpb->srgn_mem_size, not mem_size???
> if not mem_size, why you kept mem_size??

I will fix it.

Thanks,
Daejun

> Bean
>
>
>
>

\
 
 \ /
  Last update: 2021-02-23 10:54    [W:0.184 / U:6.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site