All of lore.kernel.org
 help / color / mirror / Atom feed
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	[thread overview]
Message-ID: <20210312094738.2207817-3-lee.jones@linaro.org> (raw)
In-Reply-To: <20210312094738.2207817-1-lee.jones@linaro.org>

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(-)

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.
-- 
2.27.0


  parent reply	other threads:[~2021-03-12  9:48 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-12  9:47 [PATCH 00/30] [Set 2] Rid W=1 warnings in SCSI Lee Jones
2021-03-12  9:47 ` [PATCH 01/30] scsi: mpt3sas: mpt3sas_config: Fix a bunch of potential naming doc-rot Lee Jones
2021-03-12  9:47 ` Lee Jones [this message]
2021-03-12  9:47 ` [PATCH 03/30] scsi: lpfc: lpfc_scsi: Fix a bunch of kernel-doc misdemeanours Lee Jones
2021-03-12  9:47 ` [PATCH 04/30] scsi: lpfc: lpfc_attr: Fix a bunch of misnamed functions Lee Jones
2021-03-12  9:47 ` [PATCH 05/30] scsi: libfc: fc_rport: Fix incorrect naming of fc_rport_adisc_resp() Lee Jones
2021-03-12  9:47 ` [PATCH 06/30] scsi: mpt3sas: mpt3sas_transport: Fix a couple of misdocumented functions/params Lee Jones
2021-03-12  9:47 ` [PATCH 07/30] scsi: libfc: fc_fcp: Fix misspelling of fc_fcp_destroy() Lee Jones
2021-03-12  9:47 ` [PATCH 08/30] scsi: qla2xxx: qla_mr: Fix a couple of misnamed functions Lee Jones
2021-03-12  9:47 ` [PATCH 09/30] scsi: mpt3sas: mpt3sas_ctl: Fix some kernel-doc misnaming issues Lee Jones
2021-03-12  9:47 ` [PATCH 10/30] scsi: qla2xxx: qla_nx2: Fix incorrectly named function qla8044_check_temp() Lee Jones
2021-03-12  9:47 ` [PATCH 11/30] scsi: qla2xxx: qla_target: Fix a couple of misdocumented functions Lee Jones
2021-03-12  9:47 ` [PATCH 12/30] scsi: lpfc: lpfc_debugfs: Fix incorrectly documented function lpfc_debugfs_commonxripools_data() Lee Jones
2021-03-12  9:47 ` [PATCH 13/30] scsi: lpfc: lpfc_bsg: Fix a few incorrectly named functions Lee Jones
2021-03-12  9:47 ` [PATCH 14/30] scsi: bfa: bfa_fcs_lport: Move a large struct from the stack onto the heap Lee Jones
2021-03-12  9:47 ` [PATCH 15/30] scsi: lpfc: lpfc_nvme: Fix kernel-doc formatting issue Lee Jones
2021-03-12  9:47 ` [PATCH 16/30] scsi: ufs: cdns-pltfrm: Supply function names for headers Lee Jones
2021-03-12  9:47 ` [PATCH 17/30] scsi: cxgbi: cxgb3i: cxgb3i: Fix misnaming of ddp_setup_conn_digest() Lee Jones
2021-03-12  9:47 ` [PATCH 18/30] scsi: esas2r: esas2r_log: Supply __printf(x, y) formatting for esas2r_log_master() Lee Jones
2021-03-12  9:47 ` [PATCH 19/30] scsi: be2iscsi: be_iscsi: Fix incorrect naming of beiscsi_iface_config_vlan() Lee Jones
2021-03-12  9:47 ` [PATCH 20/30] scsi: be2iscsi: be_main: Provide missing function name in header Lee Jones
2021-03-12  9:47 ` [PATCH 21/30] scsi: be2iscsi: be_mgmt: Fix beiscsi_phys_port()'s " Lee Jones
2021-03-12  9:47 ` [PATCH 22/30] scsi: bnx2i: bnx2i_sysfs: Fix bnx2i_set_ccell_info()'s name in description Lee Jones
2021-03-12  9:47 ` [PATCH 23/30] scsi: initio: Remove unused variable 'prev' Lee Jones
2021-03-12 16:27   ` Christoph Hellwig
2021-03-12  9:47 ` [PATCH 24/30] scsi: a100u2w: Remove unused variable 'bios_phys' Lee Jones
2021-03-12 16:37   ` Christoph Hellwig
2021-03-12  9:47 ` [PATCH 25/30] scsi: dc395x: Fix incorrect naming in function headers Lee Jones
2021-03-12  9:47 ` [PATCH 26/30] scsi: atp870u: Fix naming and demote incorrect and non-conformant kernel-doc header Lee Jones
2021-03-12  9:47 ` [PATCH 27/30] scsi: myrs: Remove a couple of unused 'status' variables Lee Jones
2021-03-12 16:40   ` Christoph Hellwig
2021-03-12  9:47 ` [PATCH 28/30] scsi: 3w-xxxx: Remove 2 unused variables 'response_que_value' and 'tw_dev' Lee Jones
2021-03-12  9:47 ` [PATCH 29/30] scsi: 3w-9xxx: Remove a few set but unused variables Lee Jones
2021-03-12  9:47 ` [PATCH 30/30] scsi: 3w-sas: Remove unused variables 'sglist' and 'tw_dev' Lee Jones
2021-03-16  2:29 ` [PATCH 00/30] [Set 2] Rid W=1 warnings in SCSI Martin K. Petersen
2021-03-16  7:17   ` Lee Jones
2021-03-17  1:38     ` Martin K. Petersen
2021-03-17  8:13       ` Lee Jones
2021-03-19  3:46 ` Martin K. Petersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210312094738.2207817-3-lee.jones@linaro.org \
    --to=lee.jones@linaro.org \
    --cc=alim.akhtar@samsung.com \
    --cc=avri.altman@wdc.com \
    --cc=h.vinayak@samsung.com \
    --cc=jejb@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=santosh.sy@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.