Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp4351014ybt; Mon, 6 Jul 2020 02:22:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUhKthrBZm8YV6f6VgfTapvIaSpIP6Bj31WTS2Sdgh6kIdHpq+YZGK14R+Ey3eICk5mWGw X-Received: by 2002:a17:907:7244:: with SMTP id ds4mr33828537ejc.509.1594027368825; Mon, 06 Jul 2020 02:22:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594027368; cv=none; d=google.com; s=arc-20160816; b=FhKqK5L21P8yF3SIHSamcLjz/+H5FAW+ol+CxJZ0avA2nfbNgdjmduy4tHSqA6zDNp Ax2CmSKJJWs0Tn4ymy9cpOVeFqqXz+9tarxvJsBGIPoAA+UjWoKKljlV8GJCMWX06nzw tBNT34zxjekebDd4kqsbQ6yN+oZKi36b450ZtUkyUQ0z26t4+OSOOLsaNxKuGoVubS/q aCZZl5KXBDoxTVBoq1iHc+S0YVVAyxH3v7RcJvoslcHFLr8DeIq+D9ha1ESdZ+s7x5v4 lyqf9jX0iA7H7omF5idZ72qGwQiwG2j9jsMSFo17huLLjGKS39HRJ0XeL44aydd/hBAE WP3w== 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=lchUO1dlDfUYCYrUAqvNoMb8oBzYvbwPwcFLBL/UWM8=; b=RTcHeHe4z4bFQV12Fku/3JO6B6o3Bs0NSy2Jhi0TAR8Ea1lWRtYoknfW694gUmdaSa Ru3mn8KiCQ8I7c3bIaXmHQFV+xp41fNVqoOQjNWrMkaXrgFX9NEPX1tE+rOw6Xr/CsZ3 sE3sTFyd+PR1SKML+eZktdyYuimQ5ZoGnhzU3ZM19dch+rFuFXi28nOvwwZtLMvHpG+w 6iCkOYNPbDk0YqWFLq0GOJ9gGGj3hFT1fEB8/jb5+MjgQUFcy+0R5GxQfDyfrtaaFV94 8wlRH2rXK22tksQoTOqW4m950V6SzI9D/tTN8oC8b7R2P540DaZou2dSKKrSo+dkqdjI TY6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hdsgjP2h; 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 cw25si12347936edb.203.2020.07.06.02.22.26; Mon, 06 Jul 2020 02:22:48 -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=hdsgjP2h; 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 S1728606AbgGFJT0 (ORCPT + 99 others); Mon, 6 Jul 2020 05:19:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728024AbgGFJTZ (ORCPT ); Mon, 6 Jul 2020 05:19:25 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E748C061794; Mon, 6 Jul 2020 02:19:25 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id lx13so22954292ejb.4; Mon, 06 Jul 2020 02:19:25 -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=lchUO1dlDfUYCYrUAqvNoMb8oBzYvbwPwcFLBL/UWM8=; b=hdsgjP2hE8yxjHEjYbHidV9MmgUg2X8wLco4PI2MV4THSoaLVuAxVibtoJ/7MdT0le kSLbc7Ke2zi0m40r4i+TMctLB1V8+WYs1hAOs3fgKcQcBJ2hOYYcG8l74YafFHkBjHIT akYHK/Lz51XpPiZJmmsE3pkyPEtgCkqqNa14TXSc8rACURMT1c/vBY5TT6qaiuH9fnYl xd64Tygyv7TLEqTwQodBVss80qPg4bMipzM16WVN4z3aHWZg+byY9t/7U4d9ek0X0hNr DYVhM/6c5hyGgtapHebdwbGhsE+FWFQlUcNfZVJrFELFMi5vFzyJtUwJhtu5+wVsy77t imcQ== 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=lchUO1dlDfUYCYrUAqvNoMb8oBzYvbwPwcFLBL/UWM8=; b=oHP2xbtulwhAyDLS7ybVu+mFBEdkqMHLzC7QLEcjs4RX+zco2kynRF1Buj9coDdXaN haYY+NABC7Hr+/FhVOqOwIGbEL39BndRtADeaHZVz57OoJW7Luqh6Ad0y4bkrSbfPhOW 1opAGmTXWERcxQfuh+FlFSr6r03OHe2GlavLlykXH9trR1+XGFNHL08HOWjSynlu3PoW 5iHwowaHubInPFRMy/wAEm3mCqaGwf06RYVcykgTWTb7IOICR4Nbau8iTgNwuGT1kZaP JeHOcRxuBMnQeJwgt/4cOadvkwgsmo/qMdPyhscGqon4oc+3wKlhos03d1HrSVbiEQrL eFQA== X-Gm-Message-State: AOAM533Sb43D/hMEC72ZjvygWBUUG9DWr0z4KTUsWX9MVf1k+pv1o8zg R9301Cto7FnXIJkt5+VJv5k= X-Received: by 2002:a17:906:b0d3:: with SMTP id bk19mr45172900ejb.167.1594027163884; Mon, 06 Jul 2020 02:19:23 -0700 (PDT) Received: from ubuntu-laptop.micron.com ([165.225.203.62]) by smtp.gmail.com with ESMTPSA id d23sm15975386eja.27.2020.07.06.02.19.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2020 02:19:23 -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 v1 2/2] scsi: ufs: change ufshcd_comp_devman_upiu() to ufshcd_compose_devman_upiu() Date: Mon, 6 Jul 2020 11:19:05 +0200 Message-Id: <20200706091905.12885-3-huobean@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200706091905.12885-1-huobean@gmail.com> References: <20200706091905.12885-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 --- 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 173deee37e26..96d830bb900f 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -2368,12 +2368,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) { u32 upiu_flags; int ret = 0; @@ -2564,7 +2565,7 @@ static int ufshcd_compose_dev_cmd(struct ufs_hba *hba, lrbp->intr_cmd = true; /* No interrupt aggregation */ 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