From patchwork Wed Mar 3 14:46:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 392701 Delivered-To: patch@linaro.org Received: by 2002:a17:906:a383:0:0:0:0 with SMTP id k3csp6051914ejz; Thu, 4 Mar 2021 06:54:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxqshje+zqqj3YcuIWD68uie3b0q7D9fhArhX6rNFAtYU2Fr3nm0hsh5DvMHd1RNUR5VAZ+ X-Received: by 2002:a17:906:7102:: with SMTP id x2mr4690717ejj.355.1614869679674; Thu, 04 Mar 2021 06:54:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614869679; cv=none; d=google.com; s=arc-20160816; b=qGmR0R3TtNHEdCqLkJaESgAOlZK70/r9J4hCpvkRthdH6qde1JkUjeLIZcZs2tSrTy OnakKLaHlojm4xHsEnLq9FgZNEa9teVQsi7Wfl8ukJA+pF0urhJp9e6kZOqpeBaZtrhS eWSsMf9UreeYUxTJvklb2c+eP7kD62xEhWR/pAxpVQL/rpuTKxxV0MXCZHNu+9LbKHKm 5/bFfswL5k+yjfZHUa/mfieBuhysyFB6IrmGCYTxsKNsZlmcLpMRCzjYeCFng2hSGTos dXNhGo98S+pyt8zoQoC/ITSGhdxNaeKJhAonGyMl5L+VDcAshcvVhLiF7LEjGYOI6K2W FNdA== 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=FzboMeGsvBVDTSqmL3mV6e6l8GqozBpIfKeksb4g5kA=; b=wXtboEGdBCgnBYA4MF3CBVBaKqytuwJiin/CDElt/BQ0QB3DwIkwBSudPOXaVy6FnN i1nx8sDbbcE0daoXixT15QV7I31b0NlDYxnXiyPeyeBFGFcHp+0miLdg5aeeanu8hd8w 4BqgE/4ecPQmeZb1Jdy0obsAph7Yb9kejEFQRjFbMhKt4TFQ6VbvClz506zVMjU6FOek sdUDvD1982dlYz4MvTUWLWPV63m0IhrN5e0f2epFsTngED/uIUDJAdoxY4282TzCkySV AIKXPdSxDXqno1T/vxYfD/2jZHELJrqCnilYAYCbfBAA7Wkt8SCs7EAVgosKc32D5CFD 89Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YHkspBQQ; 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 y101si4971383ede.101.2021.03.04.06.54.39 for ; Thu, 04 Mar 2021 06:54:39 -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=YHkspBQQ; 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 S1392014AbhCDAci (ORCPT ); Wed, 3 Mar 2021 19:32:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359710AbhCCOuf (ORCPT ); Wed, 3 Mar 2021 09:50:35 -0500 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F504C0613BF for ; Wed, 3 Mar 2021 06:47:41 -0800 (PST) Received: by mail-wr1-x42d.google.com with SMTP id b18so17491040wrn.6 for ; Wed, 03 Mar 2021 06:47:41 -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=FzboMeGsvBVDTSqmL3mV6e6l8GqozBpIfKeksb4g5kA=; b=YHkspBQQ+39QTR0mZ+hTCWl23QI8cmDaM7sJJmbKHgwkIQAxZ/6CixJ0LpZxwmvMl/ 0lv4xqrrilnI9Zxl5fJShO5FDsLSm7Pqy89cFahNAgLa/jofVwDJTigG21l7oRmakU/M WGUTwTe3rmkRA4vpHd0uoP1vc7QVibqNs4D+N/8IXqCxtmmq5AIl6Bd9TPPAiNB2T17d EIk8E8mfieDFe+WtTAqwV5E6CYWYgQtUUOJcR8YWUvE/1fsYvprFTSvOqAkhBFJ5/AKk rDRjfKHIEVM/HRDTAmcHDRU/gR9/WNqbHD062ac17p5A/oK+1MvwBHRDguT5KS107CQO 2jbA== 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=FzboMeGsvBVDTSqmL3mV6e6l8GqozBpIfKeksb4g5kA=; b=AvOVZo/YphFvNEGBuwxtIENrRXbrp5XMEiWIT5RsCpNrEsM0dqXnkXRgtqY9jTZ+gp BtXdhl8gIUI4dPAKYV7WlwfGFPEzbh1kTlqaduaVxMCkkEg6RZzj2FQyfGymnGycBLFk Hj/GwisAGI3thL+F7muOt2v1KJrh3rhCuuWvyr+FrKYhqfNWz/GUEUrTOLVLATJD7v0A ZurBvq2EM4CPH8ZYoLQ/fsUX0IJJuieVURjPuQRrMcFmJbyE5rxjA10cgSetWUmRJfti iO+tcHr6jzY6bGUZQl1hb8/LGSiuAVzjxb4uaBAu0k8gdd8cPhJ9pSwmppILlwSmOHVi BdHQ== X-Gm-Message-State: AOAM530SFrGJWbRFa0xBwRch2vU7neAJZLXXIhkTbXZjY7yi4BIdh7Xp k9ehPFQ7uznkLQ6FmHg6upsuWw== X-Received: by 2002:adf:c101:: with SMTP id r1mr27901802wre.38.1614782859933; Wed, 03 Mar 2021 06:47:39 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:39 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Jack Wang , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: [PATCH 22/30] scsi: pm8001: pm80xx_hwi: Fix a bunch of doc-rotted function headers Date: Wed, 3 Mar 2021 14:46:23 +0000 Message-Id: <20210303144631.3175331-23-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-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/pm8001/pm80xx_hwi.c:1427: warning: expecting prototype for pm8001_chip_init(). Prototype was for pm80xx_chip_init() instead drivers/scsi/pm8001/pm80xx_hwi.c:1584: warning: expecting prototype for pm8001_chip_soft_rst(). Prototype was for pm80xx_chip_soft_rst() instead drivers/scsi/pm8001/pm80xx_hwi.c:1711: warning: expecting prototype for pm8001_chip_interrupt_enable(). Prototype was for pm80xx_chip_intx_interrupt_enable() instead drivers/scsi/pm8001/pm80xx_hwi.c:1722: warning: expecting prototype for pm8001_chip_intx_interrupt_disable(). Prototype was for pm80xx_chip_intx_interrupt_disable() instead drivers/scsi/pm8001/pm80xx_hwi.c:1733: warning: expecting prototype for pm8001_chip_interrupt_enable(). Prototype was for pm80xx_chip_interrupt_enable() instead drivers/scsi/pm8001/pm80xx_hwi.c:1752: warning: expecting prototype for pm8001_chip_interrupt_disable(). Prototype was for pm80xx_chip_interrupt_disable() instead drivers/scsi/pm8001/pm80xx_hwi.c:4192: warning: expecting prototype for pm8001_chip_smp_req(). Prototype was for pm80xx_chip_smp_req() instead drivers/scsi/pm8001/pm80xx_hwi.c:4775: warning: expecting prototype for pm8001_chip_phy_stop_req(). Prototype was for pm80xx_chip_phy_stop_req() instead drivers/scsi/pm8001/pm80xx_hwi.c:4907: warning: expecting prototype for pm8001_chip_isr(). Prototype was for pm80xx_chip_isr() instead Cc: Jack Wang Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/pm8001/pm80xx_hwi.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) -- 2.27.0 Acked-by: Jack Wang diff --git a/drivers/scsi/pm8001/pm80xx_hwi.c b/drivers/scsi/pm8001/pm80xx_hwi.c index 84315560e8e1a..74ed072209f47 100644 --- a/drivers/scsi/pm8001/pm80xx_hwi.c +++ b/drivers/scsi/pm8001/pm80xx_hwi.c @@ -1420,7 +1420,7 @@ static int pm80xx_encrypt_update(struct pm8001_hba_info *pm8001_ha) } /** - * pm8001_chip_init - the main init function that initialize whole PM8001 chip. + * pm80xx_chip_init - the main init function that initialize whole PM8001 chip. * @pm8001_ha: our hba card information */ static int pm80xx_chip_init(struct pm8001_hba_info *pm8001_ha) @@ -1574,7 +1574,7 @@ pm80xx_fatal_errors(struct pm8001_hba_info *pm8001_ha) } /** - * pm8001_chip_soft_rst - soft reset the PM8001 chip, so that the clear all + * pm80xx_chip_soft_rst - soft reset the PM8001 chip, so that the clear all * the FW register status to the originated status. * @pm8001_ha: our hba card information */ @@ -1703,7 +1703,7 @@ static void pm80xx_hw_chip_rst(struct pm8001_hba_info *pm8001_ha) } /** - * pm8001_chip_interrupt_enable - enable PM8001 chip interrupt + * pm80xx_chip_intx_interrupt_enable - enable PM8001 chip interrupt * @pm8001_ha: our hba card information */ static void @@ -1714,7 +1714,7 @@ pm80xx_chip_intx_interrupt_enable(struct pm8001_hba_info *pm8001_ha) } /** - * pm8001_chip_intx_interrupt_disable- disable PM8001 chip interrupt + * pm80xx_chip_intx_interrupt_disable - disable PM8001 chip interrupt * @pm8001_ha: our hba card information */ static void @@ -1724,7 +1724,7 @@ pm80xx_chip_intx_interrupt_disable(struct pm8001_hba_info *pm8001_ha) } /** - * pm8001_chip_interrupt_enable - enable PM8001 chip interrupt + * pm80xx_chip_interrupt_enable - enable PM8001 chip interrupt * @pm8001_ha: our hba card information * @vec: interrupt number to enable */ @@ -1743,7 +1743,7 @@ pm80xx_chip_interrupt_enable(struct pm8001_hba_info *pm8001_ha, u8 vec) } /** - * pm8001_chip_interrupt_disable- disable PM8001 chip interrupt + * pm80xx_chip_interrupt_disable - disable PM8001 chip interrupt * @pm8001_ha: our hba card information * @vec: interrupt number to disable */ @@ -4183,7 +4183,7 @@ static void build_smp_cmd(u32 deviceID, __le32 hTag, } /** - * pm8001_chip_smp_req - send a SMP task to FW + * pm80xx_chip_smp_req - send a SMP task to FW * @pm8001_ha: our hba card information. * @ccb: the ccb information this request used. */ @@ -4766,7 +4766,7 @@ pm80xx_chip_phy_start_req(struct pm8001_hba_info *pm8001_ha, u8 phy_id) } /** - * pm8001_chip_phy_stop_req - start phy via PHY_STOP COMMAND + * pm80xx_chip_phy_stop_req - start phy via PHY_STOP COMMAND * @pm8001_ha: our hba card information. * @phy_id: the phy id which we wanted to start up. */ @@ -4898,7 +4898,7 @@ static u32 pm80xx_chip_is_our_interrupt(struct pm8001_hba_info *pm8001_ha) } /** - * pm8001_chip_isr - PM8001 isr handler. + * pm80xx_chip_isr - PM8001 isr handler. * @pm8001_ha: our hba card information. * @vec: irq number. */