[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f4a9c3a1147bb03a876d541d1e637976@codeaurora.org>
Date: Fri, 14 Aug 2020 17:29:04 +0800
From: Can Guo <cang@...eaurora.org>
To: Asutosh Das <asutoshd@...eaurora.org>
Cc: Bean Huo <huobean@...il.com>, alim.akhtar@...sung.com,
avri.altman@....com, jejb@...ux.ibm.com,
martin.petersen@...cle.com, stanley.chu@...iatek.com,
beanhuo@...ron.com, bvanassche@....org, tomas.winkler@...el.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/2] scsi: ufs: change ufshcd_comp_devman_upiu() to
ufshcd_compose_devman_upiu()
On 2020-08-13 23:55, Asutosh Das wrote:
> On Wed, Aug 12 2020 at 07:37 -0700, Bean Huo wrote:
>> From: Bean Huo <beanhuo@...ron.com>
>>
>> ufshcd_comp_devman_upiu() alwasy make me confuse that it is a request
>> completion calling function. Change it to
>> ufshcd_compose_devman_upiu().
>>
>> Signed-off-by: Bean Huo <beanhuo@...ron.com>
>> Acked-by: Avri Altman <avri.altman@....com>
>
> Reviewed-by: Asutosh Das <asutoshd@...eaurora.org>
Reviewed-by: Can Guo <cang@...eaurora.org>
>
>> ---
>> drivers/scsi/ufs/ufshcd.c | 7 ++++---
>> 1 file changed, 4 insertions(+), 3 deletions(-)
>>
>> diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
>> index 5f09cda7b21c..e3663b85e8ee 100644
>> --- a/drivers/scsi/ufs/ufshcd.c
>> +++ b/drivers/scsi/ufs/ufshcd.c
>> @@ -2391,12 +2391,13 @@ static inline void
>> ufshcd_prepare_utp_nop_upiu(struct ufshcd_lrb *lrbp)
>> }
>>
>> /**
>> - * ufshcd_comp_devman_upiu - UFS Protocol Information Unit(UPIU)
>> + * ufshcd_compose_devman_upiu - UFS Protocol Information Unit(UPIU)
>> * for Device Management Purposes
>> * @hba: per adapter instance
>> * @lrbp: pointer to local reference block
>> */
>> -static int ufshcd_comp_devman_upiu(struct ufs_hba *hba, struct
>> ufshcd_lrb *lrbp)
>> +static int ufshcd_compose_devman_upiu(struct ufs_hba *hba,
>> + struct ufshcd_lrb *lrbp)
>> {
>> u8 upiu_flags;
>> int ret = 0;
>> @@ -2590,7 +2591,7 @@ static int ufshcd_compose_dev_cmd(struct ufs_hba
>> *hba,
>> ufshcd_prepare_lrbp_crypto(NULL, lrbp);
>> hba->dev_cmd.type = cmd_type;
>>
>> - return ufshcd_comp_devman_upiu(hba, lrbp);
>> + return ufshcd_compose_devman_upiu(hba, lrbp);
>> }
>>
>> static int
>> -- 2.17.1
>>
Powered by blists - more mailing lists