From patchwork Tue Jul 7 14:00:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235005 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp942320ilg; Tue, 7 Jul 2020 07:01:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWEqHdpADanR9ntUuBGbGx782p+VOrwor3HFRnkusZxPFOdiEhfijKeBe0fpVJynMgASEt X-Received: by 2002:a17:906:958f:: with SMTP id r15mr36416639ejx.77.1594130480725; Tue, 07 Jul 2020 07:01:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594130480; cv=none; d=google.com; s=arc-20160816; b=ktjIk592ShP34/1xTdK7XcPTnlZ+WxM0ICFA8uGx+iVBlk/+vuGY1erriyAMcANmUt yrZH6Ja4H0WFjV2s2ZAQ97HdBDkb+qjrkeI5/U92rZQZrrVxZHIO6gMf4YBVYhlVw041 g9IwqfmZZbdknziGvroGtD5LWV3vfVUnfLx/pOASBdQdhSh1y/mYvl1yMgfX6dioPG5m mUE3Gl0mUV9lOQ8635dRvh3oxdIKNKYFxzogcDa9nFOMb264c4H4ZHcveWaTZlAnVoC1 ZK533ld9EoAazxsIxc4eF2NR2iwoapnTm1K1T5se3DELSzs6671n9KNouZdZ8lezKv2f 9/Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vhaBeVx21COzmeKvnb9gJbc8Z89FUyhuQpmdHktQvNU=; b=ySGAJL3RgpQvzv8Efr5VvaMz2h2BM2cyy+nAzNZr7qpFVnbVXeqgwNWErar4Y9UH3b OjWjVVqmzkl18YlBotW4UrZJjK4KExigZKV5Ll+V8CZ7sUnCNe4jqjgtep6yZC3I620a NU4S2Z0BLc7mhaOA6UnYVmJcncQLrRAoN6UQT04OuT183GIbUAFRkJ47RtTlTMCQB8yR hHDs6FqAdzlwMZwoTh0N04IISihJ070G7LVrqb0Sos2tRu+uIjZOLsYxejvH/uGfHtxD fmKEDrCrzPNkJ8XJJNkZeT5ZHbLFjTnoWmavCwmZin63HG5kHbP8Ill9opK3nmSA1tCT G5Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KtfiWAoC; 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 g3si16568851edn.594.2020.07.07.07.01.20 for ; Tue, 07 Jul 2020 07:01:20 -0700 (PDT) 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=KtfiWAoC; 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 S1728260AbgGGOBN (ORCPT ); Tue, 7 Jul 2020 10:01:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728251AbgGGOBL (ORCPT ); Tue, 7 Jul 2020 10:01:11 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83932C08C5E1 for ; Tue, 7 Jul 2020 07:01:11 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id f18so37191988wrs.0 for ; Tue, 07 Jul 2020 07:01:11 -0700 (PDT) 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=vhaBeVx21COzmeKvnb9gJbc8Z89FUyhuQpmdHktQvNU=; b=KtfiWAoCLK/CcBzFXZH0DW+6gnwMZ2c+Afoe7FlgDiLH/DcOmeTzvT3CLZ28OGCcLk BUMwFTWdx9lJz0VKuH/Y0B3Y1mi4EzQtjsGBgL1VwD4zIDyaSJKOp9N3OGwr0p1XvkwK wY8TeV3ixEerfVcYgVoT74cyeUVJ4DQ/n5prdBAU6gTD8jcov5a8/KoS47ByMuhEYize jEiVEC4KeZVxshjRGg8fBBFvEia+tj0ZDrICFHZMvaLfpJQ0U04UDOZhgcz6SpHuFn+r Y8fTa1GJHRTF3KbL6oTL43DcMXqaq3QH2Yu+hI2peNaMNNI2etqkDKkLOGVnDoA1ma8H 4Tzw== 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=vhaBeVx21COzmeKvnb9gJbc8Z89FUyhuQpmdHktQvNU=; b=QkQeJ8fVqG7lU9GgT3RbxLZB+Hsq/igu9cFvQW6mjXu2aHeuDq1Hu7WXTj93WTtzdx pQyrS8XtIryzzznscF21i28yAqFEFMjnJlm6svu2ILMgacAN8Q+CAe+3bs3xF82xzBn5 LLRKEl/hqQC/HWMzsR4nPbv1JNSDf07iS0IyzeKLRZ02L5jzBZrlikB2bicTxS+Mz0/X Z9BJ2UWtzs3zEsVXsDsxS+uIpp/lxRbSOudw/e5hzC2Bma2xCny6h5pa0zW681KiAh3u 5/GkXLYVR4QXeZ8ELZUcwQEfJ70TF8h1Ik9+jZHuVDW+pzUzwvfUaOdeVeOvOLwoULHZ wtZQ== X-Gm-Message-State: AOAM531p2v/F3w6vu1gFabj4Qi0emvmhgWsXbp913W+XL4tmGFqJt9th WmCrsILaMp5TMFBVmh1nTpw04Q== X-Received: by 2002:adf:cf0c:: with SMTP id o12mr53592490wrj.265.1594130470272; Tue, 07 Jul 2020 07:01:10 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.206]) by smtp.gmail.com with ESMTPSA id z25sm1102823wmk.28.2020.07.07.07.01.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2020 07:01:09 -0700 (PDT) From: Lee Jones To: jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Lee Jones , Hannes Reinecke Subject: [PATCH 09/10] scsi: libfc: fc_disc: Fix-up some incorrectly referenced function parameters Date: Tue, 7 Jul 2020 15:00:54 +0100 Message-Id: <20200707140055.2956235-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200707140055.2956235-1-lee.jones@linaro.org> References: <20200707140055.2956235-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/libfc/fc_disc.c:343: warning: Function parameter or member 'disc' not described in 'fc_disc_gpn_ft_req' drivers/scsi/libfc/fc_disc.c:343: warning: Excess function parameter 'lport' description in 'fc_disc_gpn_ft_req' drivers/scsi/libfc/fc_disc.c:380: warning: Function parameter or member 'disc' not described in 'fc_disc_gpn_ft_parse' drivers/scsi/libfc/fc_disc.c:380: warning: Excess function parameter 'lport' description in 'fc_disc_gpn_ft_parse' drivers/scsi/libfc/fc_disc.c:498: warning: Function parameter or member 'disc_arg' not described in 'fc_disc_gpn_ft_resp' drivers/scsi/libfc/fc_disc.c:498: warning: Excess function parameter 'lp_arg' description in 'fc_disc_gpn_ft_resp' Cc: Hannes Reinecke Signed-off-by: Lee Jones --- drivers/scsi/libfc/fc_disc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.25.1 Reviewed-by: Hannes Reinecke diff --git a/drivers/scsi/libfc/fc_disc.c b/drivers/scsi/libfc/fc_disc.c index 2b865c6423e29..428f40cfd1c36 100644 --- a/drivers/scsi/libfc/fc_disc.c +++ b/drivers/scsi/libfc/fc_disc.c @@ -337,7 +337,7 @@ static void fc_disc_error(struct fc_disc *disc, struct fc_frame *fp) /** * fc_disc_gpn_ft_req() - Send Get Port Names by FC-4 type (GPN_FT) request - * @lport: The discovery context + * @disc: The discovery context */ static void fc_disc_gpn_ft_req(struct fc_disc *disc) { @@ -370,7 +370,7 @@ static void fc_disc_gpn_ft_req(struct fc_disc *disc) /** * fc_disc_gpn_ft_parse() - Parse the body of the dNS GPN_FT response. - * @lport: The local port the GPN_FT was received on + * @disc: The descovery context * @buf: The GPN_FT response buffer * @len: The size of response buffer * @@ -488,7 +488,7 @@ static void fc_disc_timeout(struct work_struct *work) * fc_disc_gpn_ft_resp() - Handle a response frame from Get Port Names (GPN_FT) * @sp: The sequence that the GPN_FT response was received on * @fp: The GPN_FT response frame - * @lp_arg: The discovery context + * @disc_arg: The discovery context * * Locking Note: This function is called without disc mutex held, and * should do all its processing with the mutex held