Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp245956pxa; Fri, 14 Aug 2020 03:05:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwy6AshBOZAfabbnK+piFB2SShmecmKAvwkODHnkt2xl6DfUyX4AbbeBjNspTMVIj3MQfwk X-Received: by 2002:a05:6402:339:: with SMTP id q25mr1397140edw.268.1597399531831; Fri, 14 Aug 2020 03:05:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597399531; cv=none; d=google.com; s=arc-20160816; b=QfWCxT4rBdL91vVPtJi+iCv/LgKmxAzrOexZDH1lKbWsY2KhniQ7Ae8R0Y344enpFU UvTHSDgiT1musi9milO4I1DAsdxYJiIJ15c9Y03V8SEhn3quiOrJhhR6KKxCtzpXZ94U QFZfI0SvZN1NXZmgKcvCEb7nnluEUtj1kgzUdcL4escRgPNy8TcqEhNQg2YOfsfFwWPm 8mKhG2BsSouDhLqwzTUpzK6WFbeA6t6QtW+vBemDwnglxRiu+fGBhLquvFBbQNDakSDu v5Kh8ncPKIyVGuayA81hcoBTyxLofvQafhfV/TjKzdf2d/3nl0MXN1zErCDxrWCeRuow OUUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=brCGegxfCcnWHvjZPGGWO7kpAheoszRzrzBQ4JAl0Jo=; b=wzMFLMalFRRjw/i0dkKaKysxA2GX7y4XwjTiDSlUaPUFG8rbewXKf00PZnLlx7sy62 9YXsZbr5NmyRAAAm54w+Y9fOVxbXw1RrMreeUjoxwYUq3+a6xWa+pFM7FrwhPlwAdqNH 6sny349SHbDCkhsDXlCEA+gdcAHSdUI8fCvf0gv+j19maHWmSJjYN8ztk0lvet80o6lS WFlrcHP5l2aAJ+QCAPDC8kTBKE70e4CMTp+39xOOVAaoxCEdVuInOulGRBstwDqV4LFJ 0RVWnLLk0SXHhM/+X2pOP8CpbwuJOuAAr4P3sUrzXszm1Gx42mUWwvi5/bAFr4ZKrphC VYBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=uyTFHwNf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c15si5142621edv.479.2020.08.14.03.05.09; Fri, 14 Aug 2020 03:05:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=uyTFHwNf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726637AbgHNJ3I (ORCPT + 99 others); Fri, 14 Aug 2020 05:29:08 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:26715 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726362AbgHNJ3G (ORCPT ); Fri, 14 Aug 2020 05:29:06 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1597397346; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=brCGegxfCcnWHvjZPGGWO7kpAheoszRzrzBQ4JAl0Jo=; b=uyTFHwNfSX1wYPkK83I0mrLAyA5XkXlcvvwOuU5GZuXAwUdRNeBYi+dxEZgRrnrkmF/Qb2Bp K+3zwV6LE0u4ZGfu8BAO70WCCil7/ILGuaog2QGGuN2cJy62DScu/xKCazVpU5uLvth1lRZ0 JcpiqVkIUhdr5tuKkje3K1/IUyo= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-west-2.postgun.com with SMTP id 5f365961d96d28d61e1c6442 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 14 Aug 2020 09:29:05 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id DFD67C433CB; Fri, 14 Aug 2020 09:29:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: cang) by smtp.codeaurora.org (Postfix) with ESMTPSA id 16B07C433C6; Fri, 14 Aug 2020 09:29:04 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 14 Aug 2020 17:29:04 +0800 From: Can Guo To: Asutosh Das Cc: Bean Huo , alim.akhtar@samsung.com, avri.altman@wdc.com, jejb@linux.ibm.com, martin.petersen@oracle.com, stanley.chu@mediatek.com, beanhuo@micron.com, bvanassche@acm.org, tomas.winkler@intel.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] scsi: ufs: change ufshcd_comp_devman_upiu() to ufshcd_compose_devman_upiu() In-Reply-To: <20200813155515.GB25655@asutoshd-linux1.qualcomm.com> References: <20200812143704.30245-1-huobean@gmail.com> <20200812143704.30245-2-huobean@gmail.com> <20200813155515.GB25655@asutoshd-linux1.qualcomm.com> Message-ID: X-Sender: cang@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-08-13 23:55, Asutosh Das wrote: > On Wed, Aug 12 2020 at 07:37 -0700, Bean Huo wrote: >> From: Bean Huo >> >> 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 >> Acked-by: Avri Altman > > Reviewed-by: Asutosh Das Reviewed-by: Can Guo > >> --- >> 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 >>