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);
>  }




Reply via email to