Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp776389rwb; Sat, 14 Jan 2023 08:15:26 -0800 (PST) X-Google-Smtp-Source: AMrXdXsx3Cke1qssYEPHh9La+lKV4n0GBefyCiAz7NNGycsVnvKMhGNEM7YFqgcOuLst6hxNYfo2 X-Received: by 2002:a17:907:c28b:b0:84d:12d8:e1e9 with SMTP id tk11-20020a170907c28b00b0084d12d8e1e9mr19271428ejc.41.1673712926204; Sat, 14 Jan 2023 08:15:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673712926; cv=none; d=google.com; s=arc-20160816; b=XeFsGMmhxa2xdK0P5PVaqm4EW636AYkrddSi6wpp5Url0eAS7g7ZKs2j6mmUmtn7er IhiJsXSXzf/3VrafCtzeHaGcTVNRxfvcnbxHnpUceM3pMxhZbAsXDvRMHSFoyrlYKw7l eX8cLSBO465v7aUf9E+2XUtvu193WQkTLJPzt9jV6NDzgQNTk5eHRpwvR0/ASuk6Lx04 tSvvnoaGPrRlGgrtkty+qTFxlmkgnbv2rKlFOUw1mU+hlTShKva5zomrrzek7nCaO0mZ ur/Ku/QwtzTSXhC0CBuhrJMbveAybYhygY4sMFu+pBqCyOd9LWJntVEVZvtka3FCrx5q 847g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=k5d8WyZQQU1Q0HjGXY4RXt0UiTShq4aAz61oH9f3Y7E=; b=hf3+RNEvgTJJKAfNPt8yF83Jz5bo0uG04AP1ZeBxPOm/K3S3tguT0md7xPLxo61+Qt /Ybj1iKosMKlcX7CHMH4jvihOXQqRoZfz0Qggo1LmtYBrbCh2OaHeocQWAjhxAKUJALk vVQa4jyiVPLYICsa2lTsuo1UzzagqYcyDy5gNftqCiVeZ2P6+w+qTNh8v8QBjCCx0rWB LC1oMeXwX0IXSavMNFcjLdLIYzEAa96rsq9XZ1bn/QVk9iZU9T7UXII6Wq3zsvsnMWir 9ubXnfhRQmifYv5QTp0i2J3DrrndMLWLGm+WG5H/Q3zJ0PBaV/e7i9fL7ez2gPYCibDX v8Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=C2jM6sgI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xf10-20020a17090731ca00b0084d34face2dsi20685974ejb.490.2023.01.14.08.15.13; Sat, 14 Jan 2023 08:15:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=C2jM6sgI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229627AbjANPkv (ORCPT + 52 others); Sat, 14 Jan 2023 10:40:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229553AbjANPkt (ORCPT ); Sat, 14 Jan 2023 10:40:49 -0500 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14D3A7EC7; Sat, 14 Jan 2023 07:40:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673710849; x=1705246849; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=M25GkKQeLh+R1ElCPcHFYj/TtwVpy9Dn41SV9soMg2E=; b=C2jM6sgIJubCy5U+TNhlK+DQz4DX2vYx8zZzmuMTdqUiADmXDdvjcCni VjXHiJgZwuc1ViQ9E8Urjv7IxqaD3Fe3++xwllREKJgVh7EVwKno0j9w+ G84496xI2N6aCHt11W8lbQDCp22r/Ca9Ool7/kYb1cvdcn06DB0RQTgBi GPiPb++rVnFIi8CergiXkoajSkH2dsL/sdObwAs5pv8cqMT2SgsLrSjeG ScuI1aFd/tdzB1xbImziNNmJmPGZL5nEw40/ClPHfVukcRwcPCFtqvvcb mVUyYk5rl7rAS4Bw4ajzMzNkzd/o4wFPISK9gECHE2uU+3vD+i+EmF49Q w==; X-IronPort-AV: E=McAfee;i="6500,9779,10590"; a="303902081" X-IronPort-AV: E=Sophos;i="5.97,216,1669104000"; d="scan'208";a="303902081" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jan 2023 07:40:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10590"; a="800916238" X-IronPort-AV: E=Sophos;i="5.97,216,1669104000"; d="scan'208";a="800916238" Received: from yilunxu-optiplex-7050.sh.intel.com (HELO localhost) ([10.239.159.165]) by fmsmga001.fm.intel.com with ESMTP; 14 Jan 2023 07:40:46 -0800 Date: Sat, 14 Jan 2023 23:30:24 +0800 From: Xu Yilun To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, Wu Hao , Tom Rix , Moritz Fischer , linux-fpga@vger.kernel.org Subject: Re: [PATCH] fpga: dfl: kernel-doc corrections Message-ID: References: <20230113063720.10668-1-rdunlap@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230113063720.10668-1-rdunlap@infradead.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_NONE autolearn=ham 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 On 2023-01-12 at 22:37:20 -0800, Randy Dunlap wrote: > Fix W=1 kernel-doc warnings in drivers/fpga/: > > drivers/fpga/dfl.c:54: warning: cannot understand function prototype: 'struct dfl_dev_info ' > drivers/fpga/dfl.c:74: warning: cannot understand function prototype: 'struct dfl_chardev_info ' > drivers/fpga/dfl-fme-pr.c:175: warning: Function parameter or member 'feature' not described in 'dfl_fme_create_mgr' > drivers/fpga/dfl-fme-pr.c:280: warning: expecting prototype for dfl_fme_destroy_bridge(). Prototype was for dfl_fme_destroy_bridges() instead > > Signed-off-by: Randy Dunlap Acked-by: Xu Yilun Applied to for-next > Cc: Wu Hao > Cc: Tom Rix > Cc: Moritz Fischer > Cc: Xu Yilun > Cc: linux-fpga@vger.kernel.org > --- > drivers/fpga/dfl-fme-pr.c | 4 ++-- > drivers/fpga/dfl.c | 5 +++-- > 2 files changed, 5 insertions(+), 4 deletions(-) > > diff -- a/drivers/fpga/dfl.c b/drivers/fpga/dfl.c > --- a/drivers/fpga/dfl.c > +++ b/drivers/fpga/dfl.c > @@ -45,7 +45,7 @@ static const char *dfl_pdata_key_strings > }; > > /** > - * dfl_dev_info - dfl feature device information. > + * struct dfl_dev_info - dfl feature device information. > * @name: name string of the feature platform device. > * @dfh_id: id value in Device Feature Header (DFH) register by DFL spec. > * @id: idr id of the feature dev. > @@ -67,7 +67,7 @@ static struct dfl_dev_info dfl_devs[] = > }; > > /** > - * dfl_chardev_info - chardev information of dfl feature device > + * struct dfl_chardev_info - chardev information of dfl feature device > * @name: nmae string of the char device. > * @devt: devt of the char device. > */ > @@ -708,6 +708,7 @@ struct build_feature_devs_info { > * struct dfl_feature_info - sub feature info collected during feature dev build > * > * @fid: id of this sub feature. > + * @revision: revision value of this sub feature. > * @mmio_res: mmio resource of this sub feature. > * @ioaddr: mapped base address of mmio resource. > * @node: node in sub_features linked list. > diff -- a/drivers/fpga/dfl-fme-pr.c b/drivers/fpga/dfl-fme-pr.c > --- a/drivers/fpga/dfl-fme-pr.c > +++ b/drivers/fpga/dfl-fme-pr.c > @@ -164,7 +164,7 @@ free_exit: > > /** > * dfl_fme_create_mgr - create fpga mgr platform device as child device > - * > + * @feature: sub feature info > * @pdata: fme platform_device's pdata > * > * Return: mgr platform device if successful, and error code otherwise. > @@ -273,7 +273,7 @@ static void dfl_fme_destroy_bridge(struc > } > > /** > - * dfl_fme_destroy_bridge - destroy all fpga bridge platform device > + * dfl_fme_destroy_bridges - destroy all fpga bridge platform device > * @pdata: fme platform device's pdata > */ > static void dfl_fme_destroy_bridges(struct dfl_feature_platform_data *pdata)