lkml.org 
[lkml]   [2021]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v25 4/4] scsi: ufs: Add HPB 2.0 support
From
Date
On Fri, 2021-02-26 at 16:35 +0900, Daejun Park wrote:
> +
> +/*
> + * In this driver, WRITE_BUFFER CMD support 36KB (len=9) ~ 512KB
> (len=128) as
> + * default. It is possible to change range of transfer_len through
> sysfs.
> + */
> +static inline bool ufshpb_is_required_wb(struct ufshpb_lu *hpb, int
> len)
> +{
> + return (len >= hpb->pre_req_min_tr_len &&

Here is wrong, should be : len > hpb->pre_req_min_tr_len.


Bean

> + len <= hpb->pre_req_max_tr_len);
> }




\
 
 \ /
  Last update: 2021-03-02 18:01    [W:0.117 / U:1.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site