Message ID | 20210312094738.2207817-3-lee.jones@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1049993jai; Fri, 12 Mar 2021 01:48:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJxSS0/BWfC1eQ6PQWp7JLJZ6E8OuDAnBhu+ns5x9mOOTBDC1AJfki2BxLbNpg+D84h23KAI X-Received: by 2002:a05:6402:3047:: with SMTP id bu7mr13146195edb.227.1615542514119; Fri, 12 Mar 2021 01:48:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615542514; cv=none; d=google.com; s=arc-20160816; b=DZja0GKK+0l9dECiu85LJwReNGj6lZW1/s4DExMnXfrzkQI6BuEkJqU3d5Mm/YZn97 WZDT17I0RZypWwTNQhK5joyVGHkHJfoOG61zUrvwovTaHoDJq7dEfXGu1e5JmOX9OwRS X/ZdDlaPh8B/W5eFfYiXkPDHseJScrahxaXdXdsuIF6OEsOjAjJTobI2JRFc7elmkD5k 59W29sh/Fa8bVx5jaGrAem28EJzHClyhifg6eZ9VDbIFdgxJZ4F8ehqbdHpLBCdDBNc/ CUTfgcy90c5MvyKmPRXrIm0/nJFoniCM3fCgkTqf+kI6VogwdS+vaiZ7SRPQYd8w/cNU zQyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GvcOU9KB17xhaNjCrnAPnFFy7MF4/6/f5i41ACjeLUY=; b=hU3MSJ5iUrG2eHY+6Y34XrR6P5DMjg7rS0l778ntxQEEKfDZT7AruzLxrnlOozg7jc Xpi/qXZGttSVLAj/l+5OzUi5WRPmOnRTvi+blUgSXMAI90YUsx6zT9jxTX1QKtMxbpo7 GxL0xro77n+0ob0e5hS/gWd+FcCiv+lp53KhbRW2g8XSzynU9YOC/3ppIADpjm2N9N1u d0DtPH/rnNgwgX5bfBTK+8TLOJwHL1EBQb4nfeC/KaqOxvFo/BB9eXWHe/R55NeHLe9+ 24bNxV1/TvWM41wx5zUW6+/VwIUz0gbBaumspuTbh+MF+HQuCBw9eMwTp/eBS1KMK8zm C0IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IBfRbWkp; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-scsi-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pg21si4047999ejb.168.2021.03.12.01.48.33 for <patch@linaro.org>; Fri, 12 Mar 2021 01:48:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-scsi-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=@linaro.org header.s=google header.b=IBfRbWkp; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232979AbhCLJr6 (ORCPT <rfc822;patch@linaro.org>); Fri, 12 Mar 2021 04:47:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232915AbhCLJrw (ORCPT <rfc822; linux-scsi@vger.kernel.org>); Fri, 12 Mar 2021 04:47:52 -0500 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DD1FC061574 for <linux-scsi@vger.kernel.org>; Fri, 12 Mar 2021 01:47:52 -0800 (PST) Received: by mail-wr1-x42e.google.com with SMTP id a18so4405986wrc.13 for <linux-scsi@vger.kernel.org>; Fri, 12 Mar 2021 01:47:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GvcOU9KB17xhaNjCrnAPnFFy7MF4/6/f5i41ACjeLUY=; b=IBfRbWkpboIyMwMp/jPVoOSWulevaUTPPqVD+jSxC3pzYsUkhwZm+8uDnHXXA6srhg Pk1j1KpiyHY4EbrBHxwnrzpNyIJQmQBeL4ouopXljRHdyBRKxr08UWUtGJ+dCYY9CCyY BS+JOSNdFRrwsdTnSelJhlI7MoRFhmF2cmB3x8n2ZUdSxlH65FOlRB2SjUkJiXRq0BIm H4MtC1k/sYeuZuyHBz5xWdn1Si6bMzyuO83gFui93EfCDY18C9td1I1aCzqckyUc9lbz 9nSm+aWvRE2s3PEZETwiFiILMSfGthwi4bVd5/Pir64o+R2219H4rJICLo9nYjvQpZYz z+pw== 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:mime-version:content-transfer-encoding; bh=GvcOU9KB17xhaNjCrnAPnFFy7MF4/6/f5i41ACjeLUY=; b=HBFFnUCTmMAqilfpop62NWEvTgV4x77QuVDoxx0aetghaJIFTCGj6/nmpQgX69AugI Nf8zg05ogw5rRqrFZIC2pHEZvaWjVq1WKcn40b1+mLwM26aIP8iQHBS0dVwIbD4KGIcE ZJecIKAkS9XEAJcfPJM2aIJdI8IPH3aX1StPm/ziWvuMh+mH3WDx7qym6wYQwoXOoYHJ qNsDpfW/1fVzWKaYBjbPqDZubl4giB30d+ZJ//d8q9b7/bEpSCW1vC+CCyb9seB7TGYA RpU5H7lGcS0+MGVsLEHKSFKfgGYw79WxadR47fpg7mJanQJTl5giZWdkEBzZsYaD1PQp fsYw== X-Gm-Message-State: AOAM530FYaWqis+FeISXMenFXsL+PED2bMDvMWIALfdN91ALGUCJj8tF ZAWc8tkyNvW1h1BgUzq+eK25cw== X-Received: by 2002:adf:d851:: with SMTP id k17mr13274762wrl.254.1615542471088; Fri, 12 Mar 2021 01:47:51 -0800 (PST) Received: from dell.default ([91.110.221.204]) by smtp.gmail.com with ESMTPSA id f7sm1539536wmq.11.2021.03.12.01.47.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 01:47:50 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Alim Akhtar <alim.akhtar@samsung.com>, Avri Altman <avri.altman@wdc.com>, "James E.J. Bottomley" <jejb@linux.ibm.com>, "Martin K. Petersen" <martin.petersen@oracle.com>, Santosh Yaraganavi <santosh.sy@samsung.com>, Vinayak Holikatti <h.vinayak@samsung.com>, linux-scsi@vger.kernel.org Subject: [PATCH 02/30] scsi: ufs: ufshcd: Fix incorrectly named ufshcd_find_max_sup_active_icc_level() Date: Fri, 12 Mar 2021 09:47:10 +0000 Message-Id: <20210312094738.2207817-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210312094738.2207817-1-lee.jones@linaro.org> References: <20210312094738.2207817-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org |
Series |
Rid W=1 warnings in SCSI
|
expand
|
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index b65c2899aae41..ffbea9f51dfef 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -7146,7 +7146,7 @@ static u32 ufshcd_get_max_icc_level(int sup_curr_uA, u32 start_scan, char *buff) } /** - * ufshcd_calc_icc_level - calculate the max ICC level + * ufshcd_find_max_sup_active_icc_level - calculate the max ICC level * In case regulators are not initialized we'll return 0 * @hba: per-adapter instance * @desc_buf: power descriptor buffer to extract ICC levels from.
Fixes the following W=1 kernel build warning(s): drivers/scsi/ufs/ufshcd.c:7142: warning: expecting prototype for ufshcd_calc_icc_level(). Prototype was for ufshcd_find_max_sup_active_icc_level() instead Cc: Alim Akhtar <alim.akhtar@samsung.com> Cc: Avri Altman <avri.altman@wdc.com> Cc: "James E.J. Bottomley" <jejb@linux.ibm.com> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Cc: Santosh Yaraganavi <santosh.sy@samsung.com> Cc: Vinayak Holikatti <h.vinayak@samsung.com> Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/scsi/ufs/ufshcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0