Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1576780ybh; Tue, 14 Jul 2020 01:17:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtNcKbaWLO3fzR8aHVp9NdVCS5rVRDmWSXKINDp3TueQcoNtHo1kUevUgmML81apz6B1qX X-Received: by 2002:a17:906:27c9:: with SMTP id k9mr3411218ejc.74.1594714635168; Tue, 14 Jul 2020 01:17:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594714635; cv=none; d=google.com; s=arc-20160816; b=rWy9NrfR6qr92WWdTVPiIm82xbCHW6v8ImfQLTSahYHgU2FvPBXQFNs3ABLtYDyafy jKYCVixkhfwtd8qsGnsm1SL8QNRSn2I1p+oF5reajPchiKxZO3zqhzl5atiS6zO6Emaf eFMNXm3UrvVxw+zWpdnbAzkTD2eyBfnWxx38A0SwiClLlVHjy2rMHvz3JBsFOu7SI5Ku QMk41tn1Ly437QXR0X+kRsPJe3fP7IVVGq3IHRj1r/l06+yD9Mvuz2nr7kWxLxiD8e9N 1JaAZ8FUqfCh1ElqNcHkytMCPRFNB553DF5qlezwhUfyFoUVKDbuDmNzYB+LZHkC8ybc 58xA== 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:autocrypt:openpgp:from:references:cc:to:subject; bh=R76UXHJONkFBMR+DFfbLhJX20Q2fZKFvjpWFBD2KFdM=; b=e69GM55KU8AouWRkkXNVffkHYEwUzmoLgvDX0vraSA3il9NfKjBqsqIngATY+rahEg E09KQrBFGbnG1XUQmmkgUCXBoTo494J2wbNaizY3V7MxDiUV9aj53jN9197MtoJhOVtt QflbIwB0y9MZTLy+gbQImz02kf7ZKuS7IhZC+pNaddduZwvapzUcf8z9rNfsV/TNrgvY lDJEoH6FrliPFuNxbunKesI96FqoZnpX4gBmOwySKlTXOdLu4qonataHTzz7MzYvK4li MgqRjDyiEgcuvIZWyAZ6o4DzfRHYCT6Sq1LNIJ6p4jnKCTQdjYm8aL6Sj02/hZQweqD7 dUvg== 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 w18si11125136edx.276.2020.07.14.01.16.52; Tue, 14 Jul 2020 01:17:15 -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 S1726478AbgGNIOV (ORCPT + 99 others); Tue, 14 Jul 2020 04:14:21 -0400 Received: from mx2.suse.de ([195.135.220.15]:53142 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725816AbgGNIOU (ORCPT ); Tue, 14 Jul 2020 04:14:20 -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 5D8D7AD76; Tue, 14 Jul 2020 08:14:19 +0000 (UTC) Subject: Re: [PATCH v2 04/29] scsi: fcoe: fcoe: Fix various kernel-doc infringements To: Lee Jones Cc: jejb@linux.ibm.com, martin.petersen@oracle.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org References: <20200713074645.126138-1-lee.jones@linaro.org> <20200713074645.126138-5-lee.jones@linaro.org> <06bc5e03-04b0-7e09-18f4-d9fd536b714b@suse.de> <20200714075833.GI3500@dell> From: Hannes Reinecke Openpgp: preference=signencrypt Autocrypt: addr=hare@suse.de; prefer-encrypt=mutual; keydata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W3EDkzqNAXn5Onx/b0rFGFpM4GmSPriEJdBb4M4pSD6fN6Y/Jrng/Bdwk SQARAQABiQIlBBgBAgAPBQJOiskRAhsMBQkSzAMAAAoJEGz4yi9OyKjPgEwQAIP/gy/Xqc1q OpzfFScswk3CEoZWSqHxn/fZasa4IzkwhTUmukuIvRew+BzwvrTxhHcz9qQ8hX7iDPTZBcUt ovWPxz+3XfbGqE+q0JunlIsP4N+K/I10nyoGdoFpMFMfDnAiMUiUatHRf9Wsif/nT6oRiPNJ T0EbbeSyIYe+ZOMFfZBVGPqBCbe8YMI+JiZeez8L9JtegxQ6O3EMQ//1eoPJ5mv5lWXLFQfx f4rAcKseM8DE6xs1+1AIsSIG6H+EE3tVm+GdCkBaVAZo2VMVapx9k8RMSlW7vlGEQsHtI0FT c1XNOCGjaP4ITYUiOpfkh+N0nUZVRTxWnJqVPGZ2Nt7xCk7eoJWTSMWmodFlsKSgfblXVfdM 9qoNScM3u0b9iYYuw/ijZ7VtYXFuQdh0XMM/V6zFrLnnhNmg0pnK6hO1LUgZlrxHwLZk5X8F uD/0MCbPmsYUMHPuJd5dSLUFTlejVXIbKTSAMd0tDSP5Ms8Ds84z5eHreiy1ijatqRFWFJRp ZtWlhGRERnDH17PUXDglsOA08HCls0PHx8itYsjYCAyETlxlLApXWdVl9YVwbQpQ+i693t/Y PGu8jotn0++P19d3JwXW8t6TVvBIQ1dRZHx1IxGLMn+CkDJMOmHAUMWTAXX2rf5tUjas8/v2 azzYF4VRJsdl+d0MCaSy8mUh Message-ID: <554896dd-2e8f-33be-61e8-7e442af19d1a@suse.de> Date: Tue, 14 Jul 2020 10:14:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20200714075833.GI3500@dell> Content-Type: text/plain; charset=utf-8 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/14/20 9:58 AM, Lee Jones wrote: > On Tue, 14 Jul 2020, Hannes Reinecke wrote: > >> On 7/13/20 9:46 AM, Lee Jones wrote: >>> A couple of headers make no attempt to document their associated function >>> parameters. Others looks as if they are suffering with a little bitrot. >>> >>> Fixes the following W=1 kernel build warning(s): >>> >>> drivers/scsi/fcoe/fcoe.c:654: warning: Function parameter or member 'lport' not described in 'fcoe_netdev_features_change' >>> drivers/scsi/fcoe/fcoe.c:654: warning: Function parameter or member 'netdev' not described in 'fcoe_netdev_features_change' >>> drivers/scsi/fcoe/fcoe.c:2039: warning: Function parameter or member 'ctlr_dev' not described in 'fcoe_ctlr_mode' >>> drivers/scsi/fcoe/fcoe.c:2039: warning: Excess function parameter 'cdev' description in 'fcoe_ctlr_mode' >>> drivers/scsi/fcoe/fcoe.c:2144: warning: Function parameter or member 'fcoe' not described in 'fcoe_dcb_create' >>> drivers/scsi/fcoe/fcoe.c:2144: warning: Excess function parameter 'netdev' description in 'fcoe_dcb_create' >>> drivers/scsi/fcoe/fcoe.c:2144: warning: Excess function parameter 'port' description in 'fcoe_dcb_create' >>> drivers/scsi/fcoe/fcoe.c:2627: warning: Function parameter or member 'lport' not described in 'fcoe_elsct_send' >>> drivers/scsi/fcoe/fcoe.c:2627: warning: Function parameter or member 'did' not described in 'fcoe_elsct_send' >>> drivers/scsi/fcoe/fcoe.c:2627: warning: Function parameter or member 'fp' not described in 'fcoe_elsct_send' >>> drivers/scsi/fcoe/fcoe.c:2627: warning: Function parameter or member 'op' not described in 'fcoe_elsct_send' >>> drivers/scsi/fcoe/fcoe.c:2627: warning: Function parameter or member 'resp' not described in 'fcoe_elsct_send' >>> drivers/scsi/fcoe/fcoe.c:2627: warning: Function parameter or member 'arg' not described in 'fcoe_elsct_send' >>> drivers/scsi/fcoe/fcoe.c:2627: warning: Function parameter or member 'timeout' not described in 'fcoe_elsct_send' >>> >>> Cc: Hannes Reinecke >>> Signed-off-by: Lee Jones >>> --- >>> drivers/scsi/fcoe/fcoe.c | 10 ++++------ >>> 1 file changed, 4 insertions(+), 6 deletions(-) >>> >>> diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c >>> index cb41d166e0c0f..0f9274960dc6b 100644 >>> --- a/drivers/scsi/fcoe/fcoe.c >>> +++ b/drivers/scsi/fcoe/fcoe.c >>> @@ -645,7 +645,7 @@ static int fcoe_lport_config(struct fc_lport *lport) >>> return 0; >>> } >>> -/** >>> +/* >>> * fcoe_netdev_features_change - Updates the lport's offload flags based >>> * on the LLD netdev's FCoE feature flags >>> */ >>> @@ -2029,7 +2029,7 @@ static int fcoe_ctlr_enabled(struct fcoe_ctlr_device *cdev) >>> /** >>> * fcoe_ctlr_mode() - Switch FIP mode >>> - * @cdev: The FCoE Controller that is being modified >>> + * @ctlr_dev: The FCoE Controller that is being modified >>> * >>> * When the FIP mode has been changed we need to update >>> * the multicast addresses to ensure we get the correct >>> @@ -2136,9 +2136,7 @@ static bool fcoe_match(struct net_device *netdev) >>> /** >>> * fcoe_dcb_create() - Initialize DCB attributes and hooks >>> - * @netdev: The net_device object of the L2 link that should be queried >>> - * @port: The fcoe_port to bind FCoE APP priority with >>> - * @ >>> + * @fcoe: The new FCoE interface >>> */ >>> static void fcoe_dcb_create(struct fcoe_interface *fcoe) >>> { >>> @@ -2609,7 +2607,7 @@ static void fcoe_logo_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) >>> fc_lport_logo_resp(seq, fp, lport); >>> } >>> -/** >>> +/* >>> * fcoe_elsct_send - FCoE specific ELS handler >>> * >>> * This does special case handling of FIP encapsualted ELS exchanges for FCoE, >>> >> I'd rather convert this and the fcoe_netdev_features_change to proper >> kerneldocs: >> >> diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c >> index cb41d166e0c0..151fe4c53b07 100644 >> --- a/drivers/scsi/fcoe/fcoe.c >> +++ b/drivers/scsi/fcoe/fcoe.c >> @@ -646,8 +646,12 @@ static int fcoe_lport_config(struct fc_lport *lport) >> } >> >> /** >> - * fcoe_netdev_features_change - Updates the lport's offload flags based >> - * on the LLD netdev's FCoE feature flags >> + * fcoe_netdev_features_change - Updates the lport's offload flags >> + * @lport: The local port that is associated with the net device >> + * @netdev: The associated net device >> + * >> + * Update the @lport offload flags based on the FCoE feature flags >> + * from the LLD @netdev. >> */ >> static void fcoe_netdev_features_change(struct fc_lport *lport, >> struct net_device *netdev) >> @@ -2611,6 +2615,13 @@ static void fcoe_logo_resp(struct fc_seq *seq, struct >> fc_frame *fp, void *arg) >> >> /** >> * fcoe_elsct_send - FCoE specific ELS handler >> + * @lport: Local port >> + * @did: Destination ID >> + * @fp: FCoE frame >> + * @op: ELS operation >> + * @resp: Response callback >> + * @arg: Argument for the response callback >> + * @timeout: Timeout for the ELS response >> * >> * This does special case handling of FIP encapsualted ELS exchanges for >> FCoE, >> * using FCoE specific response handlers and passing the FIP controller as > > I don't want to steal your work. > > Why don't you send this and a follow-up to fix the broken header for > fcoe_ctlr_disc_start() as follow-ups? > > It also saves me from having to submit a v3 of this entire set. > Okay, not a problem. So you can add: Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), GF: Felix Imendörffer