From patchwork Wed Mar 3 14:46:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 392698 Delivered-To: patch@linaro.org Received: by 2002:a17:906:a383:0:0:0:0 with SMTP id k3csp6041512ejz; Thu, 4 Mar 2021 06:40:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJxzNImd85D4CwN0Syof42pXLCh0bpJUs3YMfEl0MrMMQhWcdUnLYTELAZTCJQR6myXB/qRa X-Received: by 2002:aa7:c3c4:: with SMTP id l4mr4571491edr.335.1614868844630; Thu, 04 Mar 2021 06:40:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614868844; cv=none; d=google.com; s=arc-20160816; b=eo0/Pdm4Y99gTJN0rYHeRdyGpnm0ZTTEPqN/1Vlv7zk3Gygm34qd/tHtxgS19XOwAN NELI4vXhi1w07kv1HUtLYuB6z+MABu2sMeOMOJDI1zro8pIesyNsiXtAQahvKESmKu08 hrmKuCvQBqm388RB8JKQnxbidV8NRDNEl3A37AMeHBfcPLtQA2RkvkA6p5HwY8WGKOup FIFyNGjvS4A9xRF3GtmWc5dvhP2Hj5Jn05jknMrE6hYJno4ZzZ3mUInWiCt7ef1ifb5X gkHk9ksoNh79So28fTCdb8LzchMeDx7rfOiztDcUtMCBHOPWqGHIZhF0Beqv/oBKS6ew BnBQ== 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=xZLBI/8SqO3lQnkC11OaIHS0M/CameoMxsEwafnsB1c=; b=ysz+3lPIO48bmMPfhxjY4PbvOvUOMvzyJpW1iIr4W/iouMDKR+RhJy05CmP8VS42NI ah8TmiKI1fpLnOa9gJlybSCHea1BKsSYP04lNfModBTopJTqCT800ksrpOWI33bL7P4X L94sds742QUWUfv7o6aIbwctdF2ntuXvMynfKPqlevyprRPp40WOgHajOFYeZMZAYwQR fpqYjJA6ItHDpU3t1iAD9+sdWwSORR8vW1qdtk0sWtYnT/8qPVMDS1f69I0BSycTbrwC JIxaT8PjsTV4ti9A2YDcVxeYcDHw0XI07WC5WLW/Tp1KqN3bbVgVCvPhURgP5oUWbFhI FB8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sV0WJ5aw; 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 ze11si10088737ejb.434.2021.03.04.06.40.44 for ; Thu, 04 Mar 2021 06:40:44 -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=sV0WJ5aw; 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 S1355660AbhCDAcW (ORCPT ); Wed, 3 Mar 2021 19:32:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359658AbhCCOuP (ORCPT ); Wed, 3 Mar 2021 09:50:15 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FD0AC0613B9 for ; Wed, 3 Mar 2021 06:47:26 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id n22so5409311wmc.2 for ; Wed, 03 Mar 2021 06:47:26 -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=xZLBI/8SqO3lQnkC11OaIHS0M/CameoMxsEwafnsB1c=; b=sV0WJ5awppAN6jeDvroI2TUJPkOXgTrWX5NupraTKExh6YFI7ps6gOgZAKZ9PMBR3C 6A+S+kKhkHNj3O/BwjvwukRsBxHH00pwRuqAb9rfA7npMqIhVuVTi9hUIBx4679upMva 1QKIGrinWSdP08ex0VNEAtfkzjK5acsN9tOd+SyuTycvsTUszESnVVgWwQB22ty0ClPr ccyw6AG4M8EafLYlPyjWwFzzw4UEQwoknxE13W9ggiT3TCheOJm5MSBoZnnJF1FuFJx+ XgKggaTJ5yx5b1fXfN1ofpPTiCvKnrhNbTKUKwT/yLNt/pXZUmrtG1FEeMJ62HyZ72de SwEQ== 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=xZLBI/8SqO3lQnkC11OaIHS0M/CameoMxsEwafnsB1c=; b=tz8m5t5ttEBkClIdrnhkw735SRCuRCvO2YOsuPbOF4J6ONfb4mN/nrmS1R3oKvg1Oh MpMFIQI7QzUCcGhM/ghSTc3+06Zu3I9UxOh6YlIqyTltG681l2PHnWsOs4ekfuPHFnGN SJJ6+IGM2nnWUfXbeCDZ9FmiCDeeBUVr9F0ofEduLsGYqtCWmyXxg6GQF+PFwk7ejgmI Ndv1NU4V2KfJ2ToaOBrMb0+Zle9k0pwT5QwQKWZr4jQzkORLa4XWpH8AAJozQ0er7/I5 rxyufrJMIEda/f0ZqyQbGh5Ed+lJmlce39fU/eOJ/YZ/RAO2ghYIr7sk38ct36wNTT+a hZ2g== X-Gm-Message-State: AOAM5311dr5TbEC6YMOGMBfru840gNdQ0gNIBbXjtiJhzE2WbWNgRcrz iwRqfdQ5ZmTaAZQqZ27nUYTJqw== X-Received: by 2002:a1c:730a:: with SMTP id d10mr9232298wmb.53.1614782845136; Wed, 03 Mar 2021 06:47:25 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:24 -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 18/30] scsi: pm8001: pm8001_hwi: Fix some misnamed function descriptions Date: Wed, 3 Mar 2021 14:46:19 +0000 Message-Id: <20210303144631.3175331-19-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/pm8001_hwi.c:1183: warning: expecting prototype for pm8001_chip_interrupt_enable(). Prototype was for pm8001_chip_intx_interrupt_enable() instead drivers/scsi/pm8001/pm8001_hwi.c:1257: warning: expecting prototype for pm8001_chip_intx_interrupt_disable(). Prototype was for pm8001_chip_interrupt_disable() instead drivers/scsi/pm8001/pm8001_hwi.c:3235: warning: expecting prototype for asd_get_attached_sas_addr(). Prototype was for pm8001_get_attached_sas_addr() instead drivers/scsi/pm8001/pm8001_hwi.c:3555: warning: expecting prototype for fw_flash_update_resp(). Prototype was for pm8001_mpi_fw_flash_update_resp() 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/pm8001_hwi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.27.0 Acked-by: Jack Wang diff --git a/drivers/scsi/pm8001/pm8001_hwi.c b/drivers/scsi/pm8001/pm8001_hwi.c index 49bf2f70a470e..6b600e33e9e8d 100644 --- a/drivers/scsi/pm8001/pm8001_hwi.c +++ b/drivers/scsi/pm8001/pm8001_hwi.c @@ -1175,7 +1175,7 @@ void pm8001_chip_iounmap(struct pm8001_hba_info *pm8001_ha) #ifndef PM8001_USE_MSIX /** - * pm8001_chip_interrupt_enable - enable PM8001 chip interrupt + * pm8001_chip_intx_interrupt_enable - enable PM8001 chip interrupt * @pm8001_ha: our hba card information */ static void @@ -1248,7 +1248,7 @@ pm8001_chip_interrupt_enable(struct pm8001_hba_info *pm8001_ha, u8 vec) } /** - * pm8001_chip_intx_interrupt_disable- disable PM8001 chip interrupt + * pm8001_chip_interrupt_disable - disable PM8001 chip interrupt * @pm8001_ha: our hba card information * @vec: unused */ @@ -3219,7 +3219,7 @@ void pm8001_get_lrate_mode(struct pm8001_phy *phy, u8 link_rate) } /** - * asd_get_attached_sas_addr -- extract/generate attached SAS address + * pm8001_get_attached_sas_addr - extract/generate attached SAS address * @phy: pointer to asd_phy * @sas_addr: pointer to buffer where the SAS address is to be written * @@ -3546,7 +3546,7 @@ int pm8001_mpi_dereg_resp(struct pm8001_hba_info *pm8001_ha, void *piomb) } /** - * fw_flash_update_resp - Response from FW for flash update command. + * pm8001_mpi_fw_flash_update_resp - Response from FW for flash update command. * @pm8001_ha: our hba card information * @piomb: IO message buffer */