Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp516348pxa; Wed, 12 Aug 2020 07:39:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOq8V1f2tQpFSVgRCaCaLBUjhTltp/gq+08aTRKwyET6gGCOOlvnVsDE2Vhyhh4SCeOugo X-Received: by 2002:a05:6402:2042:: with SMTP id bc2mr205575edb.109.1597243151868; Wed, 12 Aug 2020 07:39:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597243151; cv=none; d=google.com; s=arc-20160816; b=b7rKe9nIoWYAqUyCixCnaNreOT2npcWpmFTEL5wq/b1gjAVl2ER9QNjvE38CZdWOUS 08ifRg/IXOlZLZswDDRFiB0nDoHvSuwuFv0YVyK+S3+iHKEp/+5LHrNzCh45+k+pvfWZ cFJ46f311zkX/qlOcFsmugfFNbItCnRRjiNZtdtVsrdZqWo3sLX5tRK1DLEwoCxXeyEL pJN568niqM2YxdOHrNXzJ8sVdF2xYwRBbRjro5uMhwEarU+zNTQj2vJlnPapYErqq4AI RR9vmmmkrJFDRIJZeG3+c+lhUIQPyr1VFC7NA/i1iHL50V5MD1hUXRWTeQ1SXOpBV+Al v9HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=Gn7ZCZ5XA2EnBwutA3QyCJrGM4TBiILm4xq3LoAVuYo=; b=zO5dYVyvhw/siSoJwXhv0r5xXzG8dOj/u6EmiMVLHyxevTGzZEtQ0doaLnQ51KaYsl 5wqgJ/xfdbk8zA+FfJz0tXVyndd1uYOucs3Al+Kg4IS3LAPCqE1IIlXNmYy0EtOSwlIj Wqa/3PuwelyTHs/51ZXppVKowjiM37MtD1Gk0bLqbWDqPAwdg6s0vFwBNdl8ybwohep0 9me4G6Js7P7+8/cKj+gOpuUOeTjb3u3ZlE9FMRXib86tfMs9tXpgZ9hqeAvreSyybpII RXHX7tH5JB61pR+hOwaewj+eGZERrHgbWlVsxqaNTlILBJnHTheIq0zJ0lNE1nFTb8pE wwyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XRtzaReD; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e17si1306443ejx.211.2020.08.12.07.38.48; Wed, 12 Aug 2020 07:39:11 -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=pass header.i=@gmail.com header.s=20161025 header.b=XRtzaReD; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726673AbgHLOhT (ORCPT + 99 others); Wed, 12 Aug 2020 10:37:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726583AbgHLOhR (ORCPT ); Wed, 12 Aug 2020 10:37:17 -0400 Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D36BC061383; Wed, 12 Aug 2020 07:37:17 -0700 (PDT) Received: by mail-ed1-x544.google.com with SMTP id c10so1700729edk.6; Wed, 12 Aug 2020 07:37:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Gn7ZCZ5XA2EnBwutA3QyCJrGM4TBiILm4xq3LoAVuYo=; b=XRtzaReDSvg5kTrtGXPdqHmRTxsd1SfMl/OI4Nfo3UiWo6Z9qimPgLI1GviIdOrSAQ 9SXd89txWifead1bQWeppyUnPXISNO3fxHpHxS8Oj2hYb3S198vBBh9y1sLF0muN98eS RbPszq3gxDE+vmGkWS7DuGLcaxN8KaIWSebU2i7w2mJcMdJQ87GdAbknToJR/KZzGfdf Ygs2SGcRoASoob8agtkAcCMkchvrUaG3r7wq/DmUMheB8Fz9xOuUuzg0eKh7bKVZS/Z2 6bq3rh1ZMyugTH86ctTwCR23PsXFxh/E/A2o/mKwk2ed5k5LwIXo5llmD/JZZK//SaEO fr2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Gn7ZCZ5XA2EnBwutA3QyCJrGM4TBiILm4xq3LoAVuYo=; b=FY4UPG01YLlWI/u5o8xg4NqeLhnS4KIZf8m0kNWdS06NxPR05mVSbM8fNUvTtgyd9H FrzFnfgt+45lWWRrtYA0ZrBm84p6XYZNKxpED817P+WAqNnvOLk3ZPGmABynEbh88rlo fES6eqITiqJoyVW32XxcAgVg++/Z2zeMzhMkxhsam4KVQQ5K6UPmex4/F1rAWT4zijP2 vMHJ9uDQ63chGABmcyqnL+5IoP0jIZY7rt7HDBCkVi7D7IH9pVr3f4NSi8XlukNkx2wK vWO2TjAfItS1ki6Y81K+6pvCw5Gj2rm6Il9PgW/I2X+8/JzMzy45vU9QOdkfmZqKbLPl fpIw== X-Gm-Message-State: AOAM533Bq9zjU0SPOJHYD4Qdln86qo5VoBLJhT9lnLxI2I5dD494jHx9 Aw685EvYiYUJ5puJMgPeyFA= X-Received: by 2002:aa7:ca0c:: with SMTP id y12mr178248eds.251.1597243036013; Wed, 12 Aug 2020 07:37:16 -0700 (PDT) Received: from localhost.localdomain ([2a01:598:b90f:8e5c:44c:d55b:5f94:2fc4]) by smtp.gmail.com with ESMTPSA id d20sm1661179ejj.10.2020.08.12.07.37.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Aug 2020 07:37:15 -0700 (PDT) From: Bean Huo To: alim.akhtar@samsung.com, avri.altman@wdc.com, asutoshd@codeaurora.org, jejb@linux.ibm.com, martin.petersen@oracle.com, stanley.chu@mediatek.com, beanhuo@micron.com, bvanassche@acm.org, tomas.winkler@intel.com, cang@codeaurora.org Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] scsi: ufs: change ufshcd_comp_devman_upiu() to ufshcd_compose_devman_upiu() Date: Wed, 12 Aug 2020 16:37:03 +0200 Message-Id: <20200812143704.30245-2-huobean@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200812143704.30245-1-huobean@gmail.com> References: <20200812143704.30245-1-huobean@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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