From patchwork Wed Mar 3 14:46:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 392687 Delivered-To: patch@linaro.org Received: by 2002:a17:906:a383:0:0:0:0 with SMTP id k3csp6018999ejz; Thu, 4 Mar 2021 06:13:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJymGXvAam8mHJSPZQPbF+Q8M8Bnu6RFlRRzbbAySjj8k0BKfnjgmlhBxlt4oEym7gli2sxP X-Received: by 2002:a17:906:6817:: with SMTP id k23mr4370288ejr.6.1614867216058; Thu, 04 Mar 2021 06:13:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614867216; cv=none; d=google.com; s=arc-20160816; b=rRBV+COfDN0Pg75kB8pA+yp0+IuU9r1ccJfOKu7m1nO6nTSjxoJkKdiXy4i3hi0jvX at0hj1Y9fKJ0XJDu1bAAwUxTJqpKtQ9uSNqL07SZCGhZOpW0fU2IVrnPcllHSHs+uRt/ PlAlln5BpHxo5l0Ku+Zw+OB4IYoHTevrzkax1C5CL1Fr1gMUVFm00l0Eu4s/mV4kFGRY qlkECcOA6TuH3SFJVbsjrKeo6QYiwXi96x1rv/LW3+HU9oQbPu/Ak8S7/tkmE63Z/zsF lof1B+3bN73Hdp3/OMQ1ThwoQF5ZJLceG0snc+cvk0NOY0o+l7/sj9Uh/7w/WNCZ45+p V/ew== 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=nK4eefo6NrFTl4crSl1/DHJIw7UTb4L0OHxeSI3Uc2E=; b=taE1O9nP06m3cCxbD9h/3j3Yrjjt1g7xLaqY9mxC0S5kL/PFOl+xkhBm0sjWe4fzBV aFvSU055PfLtYqWd2h57J0gGMNNGEVYds3Iw7kXvLPcnYCi5hhsv7Aj3BZwiCPeKupHV xX2zUXi5prZjq2gLuOBh8P3Wol5UdDNVuKfM9ItedrnUc4dz/RG2QFfKXVfXo1d4n4X3 /3JZfAheHICevtCUPgfSAKA2bjtv+APCeZV+GV0b7pLZzgx5NQaK53v8Zifh0yWRNGsj 3Y3g+Cg5YMBBayYAIEpBaUU9ZLjdCmRM9zAxurXwsr/sOZDDt2nYKTZ0KUPXg1J70Jte 6JZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ML8ij0Ny; 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 m26si7844708edr.603.2021.03.04.06.13.36 for ; Thu, 04 Mar 2021 06:13:36 -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=ML8ij0Ny; 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 S1355606AbhCDAcF (ORCPT ); Wed, 3 Mar 2021 19:32:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345260AbhCCOsf (ORCPT ); Wed, 3 Mar 2021 09:48:35 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FFC3C0613EF for ; Wed, 3 Mar 2021 06:46:53 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id o7-20020a05600c4fc7b029010a0247d5f0so2974050wmq.1 for ; Wed, 03 Mar 2021 06:46:53 -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=nK4eefo6NrFTl4crSl1/DHJIw7UTb4L0OHxeSI3Uc2E=; b=ML8ij0NytYJdYa1UhFHNKItuAT7SeWi4ZjzKZ0lUoHQamtkkVYhMwjU9x0r0j5nBI5 O08WuH9ercltleOgu7V92WnWMunllo5s4r9gedetm3BRxkMWRRPJKR8nb5a7YdnWGDVF vb73w39mKLlaeYHr7hAAx46giWMELjHP2vf9qTpwBZUabhLhUHmfqJM1nL45R2OE7GhE XXp+NoL8fu8iNML10qDc42jkuzWvhhKWn901TJWhVY6HDZPDNM2ZlSEeQQn7qfX7WUuH FghJDjqoVbUVhK9345mMChpriaCPV7mqBWMVB6mHKixI1Pxn+n3/wjXBoHNnpSHjPvAt 7Ryg== 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=nK4eefo6NrFTl4crSl1/DHJIw7UTb4L0OHxeSI3Uc2E=; b=eF/H7NcyZWeDZ++lRt1DFSeDUqxlElSri/bn6gBd76h2REqWYset8rFhjM5Zo/vS1t yYai9XS1NFTYxpYUNxmuS4GkpnbLmp6AuB7WrHosDgKxAI8GjXNFcQfeZHg8RhvaXidd /1yQVJZJ+HA/DnmzITDIyf8yOBzbnPpz2r3Zn1XO9/gIH975anJu9F0hnkWr7lnF7t31 f7YOrhnKvMtp4A9DATHgQBkym8VP/Ej2bCfm1ZVdmYuUarR76riyS+2DSZEcnWjFiO4Z T9XUtSgqOApMTzTSD/GmOHL349WO+LdyCHlwR9qANiOBRDnaIMPkwHOhitU7rMkwglVP bf3Q== X-Gm-Message-State: AOAM533PWpTWXumPTMEObK35Y++KtZp/Uj9aHEMkaqC6/H50IfPxKduu 58pT4SwVAGHsRz9BWK/EsLtJUQ== X-Received: by 2002:a1c:7210:: with SMTP id n16mr9171547wmc.13.1614782811891; Wed, 03 Mar 2021 06:46:51 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.46.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:46:49 -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" , Kumar Santhanam , Sangeetha Gnanasekaran , Nikith Ganigarakoppal , linux-scsi@vger.kernel.org Subject: [PATCH 08/30] scsi: pm8001: pm8001_init: Provide function name and fix a misspelling Date: Wed, 3 Mar 2021 14:46:09 +0000 Message-Id: <20210303144631.3175331-9-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_init.c:192: warning: expecting prototype for tasklet for 64 msi(). Prototype was for pm8001_tasklet() instead drivers/scsi/pm8001/pm8001_init.c:872: warning: expecting prototype for pm8001_set_phy_settings_ven_117c_12Gb(). Prototype was for pm8001_set_phy_settings_ven_117c_12G() instead Cc: Jack Wang Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: Kumar Santhanam Cc: Sangeetha Gnanasekaran Cc: Nikith Ganigarakoppal Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/pm8001/pm8001_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.27.0 Acked-by: Jack Wang diff --git a/drivers/scsi/pm8001/pm8001_init.c b/drivers/scsi/pm8001/pm8001_init.c index bd626ef876dac..bbb6b23aa6b1c 100644 --- a/drivers/scsi/pm8001/pm8001_init.c +++ b/drivers/scsi/pm8001/pm8001_init.c @@ -184,7 +184,7 @@ static void pm8001_free(struct pm8001_hba_info *pm8001_ha) #ifdef PM8001_USE_TASKLET /** - * tasklet for 64 msi-x interrupt handler + * pm8001_tasklet() - tasklet for 64 msi-x interrupt handler * @opaque: the passed general host adapter struct * Note: pm8001_tasklet is common for pm8001 & pm80xx */ @@ -864,7 +864,7 @@ void pm8001_get_phy_mask(struct pm8001_hba_info *pm8001_ha, int *phymask) } /** - * pm8001_set_phy_settings_ven_117c_12Gb : Configure ATTO 12Gb PHY settings + * pm8001_set_phy_settings_ven_117c_12G() : Configure ATTO 12Gb PHY settings * @pm8001_ha : our adapter */ static