Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3474198pxp; Tue, 8 Mar 2022 15:23:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJw2eIHpxXs0bY7g7budFJdc4V+rrVAilHr8FxxennEEkZhjkfACJnVINdx3CrsWdrxxbhEN X-Received: by 2002:a63:c00c:0:b0:37c:942e:6c3c with SMTP id h12-20020a63c00c000000b0037c942e6c3cmr16303844pgg.336.1646781815321; Tue, 08 Mar 2022 15:23:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646781815; cv=none; d=google.com; s=arc-20160816; b=0VcbyQbP4ygpOIs1gfk+os6R7hOzuBYGGBc3J3xLKWxASeZVjWQWcyG8vHWcLI8wQK m/StxSLo16sireJ4YWzo7oHsoOpbqb+lfbZPrIVS6NdEz2aTJn/od56lmRe1+55Z1Q3w c84fDlI/KrYKR3zhUv6qgzjB+zuMbu6mplJ0m1k1y100mP+FDmhgdGDKc9eeoiZ2+xMl 6YUD3Pfh3ULAHhmDLqv+1z3oyHR10dYoury9LkiGAocvCT3z+ZKegYsLlw6Qs58heZcM vwEirD5Y05eTterTTe8Vc3fB6lP3uHDvhDf2chDa4v1W5qFOhOuf1dDvfmS1cVCkjMlB +iLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=I8yzHC1Xlo807W/LcczI8zaHBKgBK4Z74fr7+DrjB6Y=; b=lrnTZx39GN82cd4iIaGu7qCa4kRzGY9SYznaqT0Q9s/toHCR+7v+p1Xsx4J4DerEmW yQ+XhEhyfyWP2mgYe7uzNHN37/JHw5PDKtGxEWumRZiLntVGgAzxua39RERxZIbtRKBQ ZBJdd6LcsSyG3m0BJz7JefTepelICcfyfZ4q3Ws2rbRiFCRkvpbYgwbZcs0HuTx4dDxz bMHQgOzPMAGnNZU2H5GxVEnPteXhxseGFcOtyH0CgdBknxmScV3V0+Zi+hILT32OCW8E DmeHV41o5fSbi3oGnmpuUoGNrrXK1oeIBr+h0IVxucG8n1/XV3Por326OJwvPO0l4tRt 9PJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=MMoZWDf3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id o1-20020a170902778100b0014fab8b55e3si315825pll.57.2022.03.08.15.23.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 15:23:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=MMoZWDf3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9D45573051; Tue, 8 Mar 2022 15:15:07 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350452AbiCHVlP (ORCPT + 99 others); Tue, 8 Mar 2022 16:41:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241520AbiCHVlN (ORCPT ); Tue, 8 Mar 2022 16:41:13 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DF3A4EF65; Tue, 8 Mar 2022 13:40:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:To:Subject:MIME-Version:Date:Message-ID:Sender: Reply-To:Cc:Content-ID:Content-Description; bh=I8yzHC1Xlo807W/LcczI8zaHBKgBK4Z74fr7+DrjB6Y=; b=MMoZWDf3F66bBjPZVjjfcy9ed8 +n5IRnJJoId3VMNStIS2o8v5OfttlDumunSYftyBazUO0R/vije/CuTgxuRmyxdwlsKVGGTFWsM9q fK9orsfvTrmtaHQRcpAIy1Ccy7kR69sFhLrg5hnoRTLWk5Q4xz1uaR0YnR6XmZrspbqjPjqMznb1w wWqhSDrClS7H7dBWeXUsVSXIOUlSKwoXLiIem1b589OFmpx64AdWemDNR2aiRfqdfckEDKbIqC89K ycp2lmnNqICtsMvO3/6RGPbZW/CbFTAMoNXGVNcVB3cTsbTuDLrUcDGCGiVGtY+6Bh3+8dSnQHRsZ DrIHgv+A==; Received: from [2601:1c0:6280:3f0::aa0b] by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRhYw-00GYmR-2r; Tue, 08 Mar 2022 21:40:10 +0000 Message-ID: <6d3bca5e-00d7-3a69-4f90-809f4aac95d5@infradead.org> Date: Tue, 8 Mar 2022 13:40:06 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.2 Subject: Re: [PATCH 6/6] fpga: fpga-region: Add missing kernel-doc description Content-Language: en-US To: Nava kishore Manne , mdf@kernel.org, hao.wu@intel.com, yilun.xu@intel.com, trix@redhat.com, michal.simek@xilinx.com, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20220308094519.1816649-1-nava.manne@xilinx.com> <20220308094519.1816649-7-nava.manne@xilinx.com> From: Randy Dunlap In-Reply-To: <20220308094519.1816649-7-nava.manne@xilinx.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, For all function return results, s/@return:/Return:/ thanks. On 3/8/22 01:45, Nava kishore Manne wrote: > Fixed the warnings: Function parameter or member 'xxx' not > described. > > Signed-off-by: Nava kishore Manne > --- > drivers/fpga/of-fpga-region.c | 18 ++++++++++-------- > 1 file changed, 10 insertions(+), 8 deletions(-) > > diff --git a/drivers/fpga/of-fpga-region.c b/drivers/fpga/of-fpga-region.c > index 50b83057c048..61ce257c47f3 100644 > --- a/drivers/fpga/of-fpga-region.c > +++ b/drivers/fpga/of-fpga-region.c > @@ -28,7 +28,7 @@ MODULE_DEVICE_TABLE(of, fpga_region_of_match); > * > * Caller will need to put_device(®ion->dev) when done. > * > - * Returns FPGA Region struct or NULL > + * @return: FPGA Region struct or NULL > */ > static struct fpga_region *of_fpga_region_find(struct device_node *np) > { > @@ -43,7 +43,7 @@ static struct fpga_region *of_fpga_region_find(struct device_node *np) > * > * Caller should call fpga_mgr_put() when done with manager. > * > - * Return: fpga manager struct or IS_ERR() condition containing error code. > + * @return: fpga manager struct or IS_ERR() condition containing error code. > */ > static struct fpga_manager *of_fpga_region_get_mgr(struct device_node *np) > { > @@ -80,7 +80,7 @@ static struct fpga_manager *of_fpga_region_get_mgr(struct device_node *np) > * Caller should call fpga_bridges_put(®ion->bridge_list) when > * done with the bridges. > * > - * Return 0 for success (even if there are no bridges specified) > + * @return: 0 for success (even if there are no bridges specified) > * or -EBUSY if any of the bridges are in use. > */ > static int of_fpga_region_get_bridges(struct fpga_region *region) > @@ -139,13 +139,13 @@ static int of_fpga_region_get_bridges(struct fpga_region *region) > } > > /** > - * child_regions_with_firmware > + * child_regions_with_firmware - Used to check the child region info. > * @overlay: device node of the overlay > * > * If the overlay adds child FPGA regions, they are not allowed to have > * firmware-name property. > * > - * Return 0 for OK or -EINVAL if child FPGA region adds firmware-name. > + * @return: 0 for OK or -EINVAL if child FPGA region adds firmware-name. > */ > static int child_regions_with_firmware(struct device_node *overlay) > { > @@ -184,7 +184,7 @@ static int child_regions_with_firmware(struct device_node *overlay) > * Given an overlay applied to an FPGA region, parse the FPGA image specific > * info in the overlay and do some checking. > * > - * Returns: > + * @return: > * NULL if overlay doesn't direct us to program the FPGA. > * fpga_image_info struct if there is an image to program. > * error code for invalid overlay. > @@ -279,7 +279,7 @@ static struct fpga_image_info *of_fpga_region_parse_ov( > * If the checks fail, overlay is rejected and does not get added to the > * live tree. > * > - * Returns 0 for success or negative error code for failure. > + * @return: 0 for success or negative error code for failure. > */ > static int of_fpga_region_notify_pre_apply(struct fpga_region *region, > struct of_overlay_notify_data *nd) > @@ -339,7 +339,7 @@ static void of_fpga_region_notify_post_remove(struct fpga_region *region, > * This notifier handles programming an FPGA when a "firmware-name" property is > * added to an fpga-region. > * > - * Returns NOTIFY_OK or error if FPGA programming fails. > + * @return: NOTIFY_OK or error if FPGA programming fails. > */ > static int of_fpga_region_notify(struct notifier_block *nb, > unsigned long action, void *arg) > @@ -446,6 +446,8 @@ static struct platform_driver of_fpga_region_driver = { > /** > * of_fpga_region_init - init function for fpga_region class > * Creates the fpga_region class and registers a reconfig notifier. > + * > + * @return: 0 on success, negative error code otherwise. > */ > static int __init of_fpga_region_init(void) > { -- ~Randy