Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1542956ybh; Tue, 14 Jul 2020 00:06:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdS6fWT9/HVR9BQr025tgnPLPpG8X0MIOB1QejQMEfVXbWbJFFvqeUZzZibalEAUek0QeK X-Received: by 2002:a17:906:edb3:: with SMTP id sa19mr3165679ejb.21.1594710378242; Tue, 14 Jul 2020 00:06:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594710378; cv=none; d=google.com; s=arc-20160816; b=QK7+94DTwNIUtz8o/IDiFiANJnNYV5e92QYB3h4hSiMITft440fPYgeTIp6IbjZYKU 847oTCu2a+oJtUSSg7BZL4uLlaJ4zUzVMjTvnACPc0ja7YWOCdsLnkdi2em8nYFyRh6G 356jiNWMzBzedd/B+LTGugXsARz6oUJe+X95/vQNlowjjaGMEWNCf+55E0XRR++oca84 OUeV9dnowyhNLp2NO6snkgtmT8syUwKNVON+fGHaYko/MOyAoBC5RswR+7bolh3jyx6h rT751QSyi0n1rEuqE4KMdtfrvgMzJWW8WVV1dbbpu5kvitNxeSQwZXAIuwPb0ISWgpXN 8+8g== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=Wb1v6klt71LWqa3zb5O8SpmPzq/jAbByW5tbUBvkpeE=; b=afBDFvfTkuS9kLvq7hbc0t8abtMDwqL8MJ5hDPwiiRCxj5GRMH1DhzM8It/LOAcRei 4k7EQVClRfYP4q76WKFgEIL2FiSW5orZ5w1i576RTcxSuaKUZXlRNBZZEqOK/04vtjhq bTE5Kp1B8HaCIJco2L/mO8jFYtUWwTb+mr+214rQxO/IFOcfubD2hn5flMnQWhFT2IwJ FM0aTTVJfnA3Tn6wg+g9774T8P3DZKv9l/XL3zdztfmamDHPgbt42H6LAmISO08EgzMW XcJu92UDgGo0pv/v5Y8XRIv2WtAsy4LQEe3YoXV14NpTQlX9Zpg3CNVOLFxYK0d6m5IM +YOA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z4si10025495ejw.122.2020.07.14.00.05.55; Tue, 14 Jul 2020 00:06:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726930AbgGNHFP (ORCPT + 99 others); Tue, 14 Jul 2020 03:05:15 -0400 Received: from mx2.suse.de ([195.135.220.15]:40994 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726964AbgGNHFC (ORCPT ); Tue, 14 Jul 2020 03:05:02 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id F0E7EB86E; Tue, 14 Jul 2020 07:05:02 +0000 (UTC) Subject: Re: [PATCH v2 11/29] scsi: libfc: fc_rport: Fix a couple of misdocumented function parameters To: Lee Jones , jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org References: <20200713074645.126138-1-lee.jones@linaro.org> <20200713074645.126138-12-lee.jones@linaro.org> From: Hannes Reinecke Message-ID: <3b98e5b9-412d-90c9-cd04-4844c645c774@suse.de> Date: Tue, 14 Jul 2020 09:04:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200713074645.126138-12-lee.jones@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/13/20 9:46 AM, Lee Jones wrote: > 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(-) > > diff --git a/drivers/scsi/libfc/fc_rport.c b/drivers/scsi/libfc/fc_rport.c > index 278d15ff1c5ae..18663a82865f9 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 > + * @rdata_arg: The remote port > */ > static void fc_rport_logo_resp(struct fc_seq *sp, struct fc_frame *fp, > void *rdata_arg) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer