From patchwork Wed Jul 8 12:02:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235090 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp371314ilg; Wed, 8 Jul 2020 05:04:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0J8pqC5Gzn5s9H6WzhXvj0RMmItwKH2vpiHWTmjJ8BoOSSYJXm81KyOVpdS1VyiBVuwCH X-Received: by 2002:aa7:c2cf:: with SMTP id m15mr40962435edp.27.1594209865608; Wed, 08 Jul 2020 05:04:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594209865; cv=none; d=google.com; s=arc-20160816; b=OIo+ZZMaV7Uz0td5iMg2DjMB8ssfSbtdRk9HD3z61QM+EcSyILMcepc3e8BKKSZFzw mgW+D9ZK1MB9rxTLtS0MnWcnbcTeC1tRtjwqwa4sCUwpk6DeErmbz4S4zvnx2MOnN7iR sfKMdclgiNsalJj+AhMPW2+hUV6fdJuOPQK2VemPXf+648DkCCGMVETXAYmT2JXUUIof dW78+R7qqoF60OijFWhFCdqdaEhRxu3K+8zqEZocIwMueTVfVOzjuYJUsPAHs3/yJLx8 HEPsZYYPBZPJ6ABpKHBI4LTW5wYtw86uEvbLxwDGP+XF7e/B8l2bSEWrIGm9k8U8exb0 apcg== 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=PUEEoaUyF+s08hE4dARneQxf1Covum7aHqB9FrCQqkg=; b=cQgWyBId1Qh6k7inWXW+t7nM/GlKG/c8ovxg0AhbXISH/VBBNLyi0eoZkrUPRMdo0k AForLBbTpj+lmrmmJl0cSnvRaEM2bpSWQeeV9yMUQDoZeAIaFaKrlcDi/S9VoDKbC6Fb aDtgIPTixgk3Ocz4NMvL4kbYvJS8QBlFN+IM2p2r9u7ae8VzOmu3SKuRSGGDgJFtvZrC T5CHmVpmE1+A446c0jXXnBW6X02F7LMfss+dDhbgqIR2Vvwxn8WNDpCTtewR1qT4iexj 9Hg4AaGSfJp60c8phUgdAkqeeo9sPMdkB+8/ZOiUyy0mxv2ulmlKqRWsMCDeeyotgzPA xjow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pxXV0EYb; 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 do5si22414640ejc.105.2020.07.08.05.04.25 for ; Wed, 08 Jul 2020 05:04:25 -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=pxXV0EYb; 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 S1729081AbgGHMCo (ORCPT ); Wed, 8 Jul 2020 08:02:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729056AbgGHMCl (ORCPT ); Wed, 8 Jul 2020 08:02:41 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E9A8C08E763 for ; Wed, 8 Jul 2020 05:02:41 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id o2so2740289wmh.2 for ; Wed, 08 Jul 2020 05:02:41 -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=PUEEoaUyF+s08hE4dARneQxf1Covum7aHqB9FrCQqkg=; b=pxXV0EYbO/Efhe2l4FrwNUHf3aw91pdWOupfVC6/0ixxbUMs5OuGizocqMJNMZzYDb p99Kk593i/aTNpYlRIHL4qJnB+nMqMw5jpLA3QI34FM1tvDcip5cse0QZ0ymPnhQvGMR M8yLIIYKhbXqe242v/hCKN4SQHrpvSyAO/8cRKhfaUYiksC872hREKWmbbgcoaE2vNws LwiK4DKh2h8n34GK46+eoruCag26JNpB5IbScXXbhULDPH9Ukye4/J++DodbIP+z4iG7 AbnL2aAKpoqL44rwUWi29SoDwp/az05LGAWp7NPAznlDkT14oMqei6dkKRqkf/CvCQ2K lUTw== 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=PUEEoaUyF+s08hE4dARneQxf1Covum7aHqB9FrCQqkg=; b=nnKWa/eF5bz2mtNd86AbeRsHO535zd/gEYWNzhwq7U4tQ9oS098lpUdJrsvkr62hJ4 fw1qxsjzo2eAGZembyOtSWDtuG9PmRSlOdxQK7DWhY3GEtZrVY636mXFolZvmDgOR1BM oERtIQTMLdRqL8y/30MLdlHAZq6ERGYPLmfB8rzFEVH2ZsrYNGECfkYTSdORKaE920SH 9oyrvdWLtLf9C/Hj4BhdeISHWmrSEVALUlLBMOmONRpdHyJC1blorqhiOskrEpdX/yUf YWrZLQtzjAmr6kCcq0Ak64Qe2k4u5k134LccoGWLbYG+F7YPyqd02cXP8csniPUufxtu 7hVA== X-Gm-Message-State: AOAM5339LxmYFcsxIVgbtoFbYkDh4tbimiRBnszgxsJqfyLQTXgNPztg Gbi3vSQIqO0YDXaXLDcgGeqn4Q== X-Received: by 2002:a1c:6354:: with SMTP id x81mr8672065wmb.98.1594209760335; Wed, 08 Jul 2020 05:02:40 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.206]) by smtp.gmail.com with ESMTPSA id m62sm3964997wmm.42.2020.07.08.05.02.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2020 05:02:39 -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 11/30] scsi: libfc: fc_rport: Fix a couple of misdocumented function parameters Date: Wed, 8 Jul 2020 13:02:02 +0100 Message-Id: <20200708120221.3386672-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200708120221.3386672-1-lee.jones@linaro.org> References: <20200708120221.3386672-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_rport.c:129: warning: Function parameter or member 'port_id' not described in 'fc_rport_create' drivers/scsi/libfc/fc_rport.c:129: warning: Excess function parameter 'ids' description in 'fc_rport_create' drivers/scsi/libfc/fc_rport.c:1452: warning: Function parameter or member 'rdata_arg' not described in 'fc_rport_logo_resp' drivers/scsi/libfc/fc_rport.c:1452: warning: Excess function parameter 'lport_arg' description in 'fc_rport_logo_resp' Cc: Hannes Reinecke Signed-off-by: Lee Jones --- drivers/scsi/libfc/fc_rport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 diff --git a/drivers/scsi/libfc/fc_rport.c b/drivers/scsi/libfc/fc_rport.c index 278d15ff1c5ae..ea99e69d4d89c 100644 --- a/drivers/scsi/libfc/fc_rport.c +++ b/drivers/scsi/libfc/fc_rport.c @@ -121,7 +121,7 @@ EXPORT_SYMBOL(fc_rport_lookup); /** * fc_rport_create() - Create a new remote port * @lport: The local port this remote port will be associated with - * @ids: The identifiers for the new remote port + * @port_id: The identifiers for the new remote port * * The remote port will start in the INIT state. */ @@ -1445,7 +1445,7 @@ static void fc_rport_recv_rtv_req(struct fc_rport_priv *rdata, * fc_rport_logo_resp() - Handler for logout (LOGO) responses * @sp: The sequence the LOGO was on * @fp: The LOGO response frame - * @lport_arg: The local port + * @rport_arg: The local port */ static void fc_rport_logo_resp(struct fc_seq *sp, struct fc_frame *fp, void *rdata_arg)