Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp294289ybt; Tue, 7 Jul 2020 23:35:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUFBXcG5F1LKBRHw/bOnyeHz9tbIswlhJNRflForuNr5Vzwc3HyTBXTHAVc/uHsM34zy3U X-Received: by 2002:a50:cd1a:: with SMTP id z26mr67503443edi.120.1594190152459; Tue, 07 Jul 2020 23:35:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594190152; cv=none; d=google.com; s=arc-20160816; b=aSqF8FyOr4pbe+bL/RK4DQ+k0Jaa5lkVY+o+8Rv0E3SGI/QSZ/qCJWgk/AbYGoe534 5K2Kp6kcl8HsNxN07BAGu6GNYmKiwsEe2lCUJo2AkO5Lg5ljOliGtlL7Xd7BQCXagNS+ b+jxPQT2msJtwSTwIyltTpI72eZj6K1lSscp6UuPYLGzsFM/oE8KrCIWndg5wyHhljgh mQCtD6g0PYkwzSK+CnrmFM8BKjBmRUskP/jWpMw+SvBMmXKaarS5OmbeRB1MsfDI5Yu4 vNVTnKkt6ZoR0id9ex+Ngn7i806vmOafyxBXAq08FVIEnZN+gQnTYsNt0iDGTDMrcNsn biNQ== 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=gxVFCDAs8gmrOUCwZYlIZCGUhlIDLADXzP7lHdMmICY=; b=GQaLUWxQnaDMolxmtNL9vgn9dyl9e6t8iBwpOjd8KnLlG7BKZvW0MX4iRWecfcVVG8 myZCMJ55IZ6t9Ju5mZg1HJT5cg1I9ME1A485MdNqhY77Q/v2kEcGlmZiGMjP0MSiESPr KutnnjmO26QtsRjRiMpgEEIMbiF6ayjRSJUpQdECTO3A16ljZkN9VB7qiPRwca2ERyhW yUzDQYSxbxJddjqgYZTLR62UIWqy33MxXCaVwFDumqoGiWC9Mru2djWyphwUqS444S3v +Y1ghHiF+aRmX/sWRE21GXps/9ZlK11iQesgs66YgjZ+snFoP1Kt9N2GHcKVek0x1hpf i2zQ== 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 t2si14704804eje.689.2020.07.07.23.35.29; Tue, 07 Jul 2020 23:35:52 -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 S1729080AbgGHGa4 (ORCPT + 99 others); Wed, 8 Jul 2020 02:30:56 -0400 Received: from mx2.suse.de ([195.135.220.15]:57244 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725784AbgGHGaz (ORCPT ); Wed, 8 Jul 2020 02:30:55 -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 746C6AC1D; Wed, 8 Jul 2020 06:30:54 +0000 (UTC) Subject: Re: [PATCH 09/10] scsi: libfc: fc_disc: Fix-up some incorrectly referenced 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: <20200707140055.2956235-1-lee.jones@linaro.org> <20200707140055.2956235-10-lee.jones@linaro.org> From: Hannes Reinecke Message-ID: Date: Wed, 8 Jul 2020 08:30:50 +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: <20200707140055.2956235-10-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/7/20 4:00 PM, Lee Jones wrote: > 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(-) > > 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 > 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