From patchwork Fri Mar 12 09:47:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 398513 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1050450jai; Fri, 12 Mar 2021 01:49:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVDuTQig/o8VUtuEpeAE971jv6PZ8b9jx3fc9aOoxrvhBGddbNrgslmJaNOX1NIvyfqn10 X-Received: by 2002:a17:907:9862:: with SMTP id ko2mr7420855ejc.222.1615542554597; Fri, 12 Mar 2021 01:49:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615542554; cv=none; d=google.com; s=arc-20160816; b=EgH+pMz1136pE5TbVQsFRhQutPK1fUcCdteNMFh5/xW2H4VPu7/5Yz2gv9m7tY6MN5 V/J7+oB6Wrp57XcXhcZ4281pN7PdaDWpsOOvbPv9DKeOJT4iNnrGey/775avNAzM1oAt n0Ym/8BgK8epReDH6otW4BJUXHSKB9sA3vS1xdRWkjDc0Kv90Unt0v77NuQ0/hkrw7De eIffmt5IkiFJzvSq5kRcWR6H+13RlZh6eFspY6Sn7Cn9zwQ4YKDgORVst9tFdBNK4B68 o1DsB3stpICn0a+w8Dfbr6Bf3ds1Gl0O6Ym4qzRASPpie0sXQv3xkrp8RATHrNChD7JC THqw== 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=GAfY/sW2GOLPvPNgEyR6W5v2K+OUufqzhLyZshJlkAg=; b=WtzF6xOctICGS6lkXP05bNNhAS8+KC1+YNv9E7AxGtMEz6WARQgulXIj9WQGplE/d+ K56k7FTZFCc8fMlscoq34FnnepHGvgxDY6af4BiKVRS5WK7nKi8KwTTVC/EU3/njOGpm jlFpXUU15Mx30CqGWA07UbHJmT4KI6r82VHXHA2ChDEfAG8AtH+Z84Gdt/WLebSb9c/v PFudGCx0LMGhOvm/S5kx81ehLShuxoi5YZ8syr7FNFx2gcpG0xGZ2dZqmAzg6mLV30Dz X9XRaCDE8/xOIu0k3i+vUBno5w2yx/kAOZGxITO6QAEOvDtdmGcvzHF3zqnwzpIJ+gYW q7ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Egt3exAm; 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: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cf6si3710544ejb.272.2021.03.12.01.49.14 for ; Fri, 12 Mar 2021 01:49:14 -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=Egt3exAm; 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 S233159AbhCLJsd (ORCPT ); Fri, 12 Mar 2021 04:48:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232987AbhCLJsA (ORCPT ); Fri, 12 Mar 2021 04:48:00 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FDEBC061764 for ; Fri, 12 Mar 2021 01:47:59 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id n11-20020a05600c4f8bb029010e5cf86347so4235274wmq.1 for ; Fri, 12 Mar 2021 01:47:59 -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=GAfY/sW2GOLPvPNgEyR6W5v2K+OUufqzhLyZshJlkAg=; b=Egt3exAmPVcbCgA4NqY5XW32G2K6gk/0mdoD9JTRnOChzQscD1qRoSkHXbZuGLofz/ 2B1+8F0pbC9mczovOxwQz51AM6w1LLnkEwQxBi0cPZC1zhIEfL5DJ79xUOcw4tIGQoc5 hTIqG8cE1hyNZ86l/IT/umOHDbaRUJM8l9QSGXu4+9EzRT2NnRsIsPjpOsXvkveSCoNq CC6SuBW189wCoCUegHAuWgn62prxXzXMZ/cbDq9if50ofuXkJ6zSrEcihdNipgkAy5BK HtJwx0WpW/1zvX7N1HPb7SyPM+Q3AN/efuVa9YxxxrAvNta23XEc91nkRB4QFaz4fozo umrA== 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=GAfY/sW2GOLPvPNgEyR6W5v2K+OUufqzhLyZshJlkAg=; b=KI1Ml8Mc7DPZVAlghl3k+i4WZe8keJASqG1VscAXwAqKPpTs+oMJ6BJkPppjNZa0rk SffuWIT8OTDhFp1OCIoMmmV6xFQqTM32OS44BBqFFHSI8aL70lxmo44fZbxfb7JDR2op Rlywq34FE2BbfCQxJpIChwtU6lNmKH4Jb7mPw7+9My/6CC1L6AgY2kmuK4GZwzKtSsZm c8oanHs4ejAAils98Yqu5dT3kPV5fEBDVFm+CUrVVLV4mBuOEgPUNIprWgORh4zRFW3F GpXw5HEEHEgucx23Pan2G3fYmWsKLk7ZDsIcv6Sopdt+fm0zjdeoFxCIcmo1OtABe7QC xDpw== X-Gm-Message-State: AOAM532w3rFrbCL7TS/v1rceghdxYkIcHM34AsssYXv56gm3+Hcgn7g7 y4ZKTP4BQN+Bg2/64Jih9al5uME5OrBbHw== X-Received: by 2002:a1c:7901:: with SMTP id l1mr12471938wme.114.1615542478104; Fri, 12 Mar 2021 01:47:58 -0800 (PST) Received: from dell.default ([91.110.221.204]) by smtp.gmail.com with ESMTPSA id f7sm1539536wmq.11.2021.03.12.01.47.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 01:47:57 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Sathya Prakash , Sreekanth Reddy , Suganath Prabu Subramani , "James E.J. Bottomley" , "Martin K. Petersen" , MPT-FusionLinux.pdl@avagotech.com, MPT-FusionLinux.pdl@broadcom.com, linux-scsi@vger.kernel.org Subject: [PATCH 09/30] scsi: mpt3sas: mpt3sas_ctl: Fix some kernel-doc misnaming issues Date: Fri, 12 Mar 2021 09:47:17 +0000 Message-Id: <20210312094738.2207817-10-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 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/mpt3sas/mpt3sas_ctl.c:463: warning: expecting prototype for mpt3sas_ctl_reset_handler(). Prototype was for mpt3sas_ctl_pre_reset_handler() instead drivers/scsi/mpt3sas/mpt3sas_ctl.c:495: warning: expecting prototype for mpt3sas_ctl_reset_handler(). Prototype was for mpt3sas_ctl_clear_outstanding_ioctls() instead drivers/scsi/mpt3sas/mpt3sas_ctl.c:512: warning: expecting prototype for mpt3sas_ctl_reset_handler(). Prototype was for mpt3sas_ctl_reset_done_handler() instead drivers/scsi/mpt3sas/mpt3sas_ctl.c:2771: warning: expecting prototype for _ ctl_ioctl_compat(). Prototype was for _ctl_ioctl_compat() instead drivers/scsi/mpt3sas/mpt3sas_ctl.c:2789: warning: expecting prototype for _ ctl_mpt2_ioctl_compat(). Prototype was for _ctl_mpt2_ioctl_compat() instead drivers/scsi/mpt3sas/mpt3sas_ctl.c:3061: warning: expecting prototype for sas_address_show(). Prototype was for host_sas_address_show() instead drivers/scsi/mpt3sas/mpt3sas_ctl.c:3682: warning: expecting prototype for diag_trigger_scsi_show(). Prototype was for diag_trigger_mpi_show() instead drivers/scsi/mpt3sas/mpt3sas_ctl.c:3941: warning: expecting prototype for sas_ncq_io_prio_show(). Prototype was for sas_ncq_prio_enable_show() instead Cc: Sathya Prakash Cc: Sreekanth Reddy Cc: Suganath Prabu Subramani Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: MPT-FusionLinux.pdl@avagotech.com Cc: MPT-FusionLinux.pdl@broadcom.com Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/mpt3sas/mpt3sas_ctl.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) -- 2.27.0 diff --git a/drivers/scsi/mpt3sas/mpt3sas_ctl.c b/drivers/scsi/mpt3sas/mpt3sas_ctl.c index 44f9a05db94e1..8717412b80794 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_ctl.c +++ b/drivers/scsi/mpt3sas/mpt3sas_ctl.c @@ -454,7 +454,7 @@ _ctl_verify_adapter(int ioc_number, struct MPT3SAS_ADAPTER **iocpp, } /** - * mpt3sas_ctl_reset_handler - reset callback handler (for ctl) + * mpt3sas_ctl_pre_reset_handler - reset callback handler (for ctl) * @ioc: per adapter object * * The handler for doing any required cleanup or initialization. @@ -486,7 +486,7 @@ void mpt3sas_ctl_pre_reset_handler(struct MPT3SAS_ADAPTER *ioc) } /** - * mpt3sas_ctl_reset_handler - clears outstanding ioctl cmd. + * mpt3sas_ctl_clear_outstanding_ioctls - clears outstanding ioctl cmd. * @ioc: per adapter object * * The handler for doing any required cleanup or initialization. @@ -503,7 +503,7 @@ void mpt3sas_ctl_clear_outstanding_ioctls(struct MPT3SAS_ADAPTER *ioc) } /** - * mpt3sas_ctl_reset_handler - reset callback handler (for ctl) + * mpt3sas_ctl_reset_done_handler - reset callback handler (for ctl) * @ioc: per adapter object * * The handler for doing any required cleanup or initialization. @@ -2759,7 +2759,7 @@ _ctl_mpt2_ioctl(struct file *file, unsigned int cmd, unsigned long arg) } #ifdef CONFIG_COMPAT /** - *_ ctl_ioctl_compat - main ioctl entry point (compat) + * _ctl_ioctl_compat - main ioctl entry point (compat) * @file: ? * @cmd: ? * @arg: ? @@ -2777,7 +2777,7 @@ _ctl_ioctl_compat(struct file *file, unsigned cmd, unsigned long arg) } /** - *_ ctl_mpt2_ioctl_compat - main ioctl entry point (compat) + * _ctl_mpt2_ioctl_compat - main ioctl entry point (compat) * @file: ? * @cmd: ? * @arg: ? @@ -3045,7 +3045,7 @@ fw_queue_depth_show(struct device *cdev, struct device_attribute *attr, static DEVICE_ATTR_RO(fw_queue_depth); /** - * sas_address_show - sas address + * host_sas_address_show - sas address * @cdev: pointer to embedded class device * @attr: ? * @buf: the buffer returned @@ -3669,7 +3669,7 @@ static DEVICE_ATTR_RW(diag_trigger_scsi); /** - * diag_trigger_scsi_show - show the diag_trigger_mpi attribute + * diag_trigger_mpi_show - show the diag_trigger_mpi attribute * @cdev: pointer to embedded class device * @attr: ? * @buf: the buffer returned @@ -3928,7 +3928,7 @@ sas_device_handle_show(struct device *dev, struct device_attribute *attr, static DEVICE_ATTR_RO(sas_device_handle); /** - * sas_ncq_io_prio_show - send prioritized io commands to device + * sas_ncq_prio_enable_show - send prioritized io commands to device * @dev: pointer to embedded device * @attr: ? * @buf: the buffer returned