Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1845844lqz; Mon, 1 Apr 2024 21:43:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWuRvKhnG7iASBBhbu7UdBlyi3yq4TTz5loCfhqaPhBz92Mu7mN7o4A5HJQsB8aO6r3RMJyjCdBCokwMGkyf/3tBj8N3NDXAI4//w2jOg== X-Google-Smtp-Source: AGHT+IF5UKls+cq2R+kVFGs3OEr4h2ZqKA+bHP73xoRFlj/G8T9XKs4rq9cponvLx9ZrQ5tMBr42 X-Received: by 2002:a05:6a00:b81:b0:6e6:8ca5:c0d4 with SMTP id g1-20020a056a000b8100b006e68ca5c0d4mr12931132pfj.12.1712032990275; Mon, 01 Apr 2024 21:43:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712032990; cv=pass; d=google.com; s=arc-20160816; b=ALXlZydJyQzZUl37SCl0UbHrv25IiE1JsTF5qmpPqkukN8iEw1oM3W5ze7CeWsxw6Z hQE5UBpH1NZ3xnayFQpCxzJAdlvy7H++wRPmgZ3I8ZAGtgqXUMi6qFzVGu/kwvnnMksU asORExh7Mh2XQ4cpE2OgO8fpa4OycbkXSsaxE0tpiL2uR84E/BjjCBVC8EXByrPI3PMQ lNZMYV28waIRHbzc8//EJidhX4icN29jgo+1S2cmA5XgNBC5u7bBZRpM6B9eLy2//i0s 8EYywhJptRCvcBXvOiFPcythOLdsKhjjaptvDr06tXcFIAAjjd6yc5wmp+G2tJ2DLjaY Ht/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=zalD8cbpimqALrAnhU1MWxa0W1J+AI9zH7OB+CRpPSc=; fh=XVRg0OVaDxgl1NLp0SCuhjWxsnadtCI8axFhzPax6xM=; b=le8Eg4aB6SGyMeI6+nbsii0YNAgmkh1n0BHVBdKt/qGp9R3kK+ZZl+TZ0ju5o5AOwO 10W+9wwMM1tbh+R2NgSYy8cu5GrFWWcIPkZ3fm1m/4Jcqov2wngM6cmGfdPDC3ryIcAJ 3FAuYKb1CbKoZ0Xt82Uau9LHyjJgvT4GWwSysgxlyMjaZhid8iSe3W4v8FqXPrQruW6o jRFtKdaAvgqSl618nj2CVgPziXRH3Z+xDhdzynYTlN6xs1aYMyrTjZz+stGbQxKqDoof 8fFOa3N74NN3lE+fx0Ulm0E2BnkgSB5kswKOfzzgOTw1jWdPMMPiyMEE64WGWwaoVcCa fVIg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="R/cS9EBR"; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-127383-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127383-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 131-20020a630089000000b005dc9daed2d2si4239108pga.429.2024.04.01.21.43.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 21:43:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127383-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="R/cS9EBR"; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-127383-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127383-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id EC34928295C for ; Tue, 2 Apr 2024 04:43:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EE22817C69; Tue, 2 Apr 2024 04:43:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="R/cS9EBR" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 598012581; Tue, 2 Apr 2024 04:43:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712032983; cv=none; b=VT5jqNVaJeqFCssMHUhP3ktmA7p3Z6DVC3gCYjNEj6GjLCEneFwtdyBNdclv4bd1ntlO4UdQ84n3juexabD/lC2KmgqtRtXFhlkEbZWtWECQ1lqVP3e26t3oV323pnHm2rGY9Q6Bmxob4YtYwbWr12h10DSX1BnRAM0L7VSo+1I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712032983; c=relaxed/simple; bh=VY23z033UnkfMFSKC7qGity31SFRLGUYYweOjQ/nK54=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=hyXu03vA67sWzRDf+iXlOFKKxVMzc8UpxVsmB6fUaJBQppjEJ3HASUjDmzcYvUMk1oIWoc9UzzcbkM7npoLk+5SeEsz1jQWY4xDeMqqMqyTUBvF0EFVwfXQW1qnhbbQV2Ps8AhicfxWd7ehjCSv9FTh4+wwLlLDgS9cXELwv/vQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=R/cS9EBR; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=zalD8cbpimqALrAnhU1MWxa0W1J+AI9zH7OB+CRpPSc=; b=R/cS9EBRYUnM4DUW2L+dBpBzHP 3CFf/FIwz7bEtUrbvMoOTa6p/Tu2IIWE9DLthRDasfNtKxmToM1E1hCq3fVbYiVv9ZCUk+yt0OmEB M+9ab6kAVXgfAOj5nIsevvB6BBU8uR/1UO4yxCYQLAX9yM4eLYJk6f5ptFXibEmpQ5bTlcg3BVKcx QtquFm/WheleB72QpICoaV6xtHXfpT4xNB37YTH28POVHfy3kunIMew26EfL+VnKZ9htPINjPmM/D WlNj7xL8QvZ/FUCE7ZAlgFdVM6BUBjBRxyNR4Uxn2gkfrdEfY8oZ4BWSzwfs4xW/R6ql4lDiwHX88 flU5LD+A==; Received: from [50.53.2.121] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rrVz8-00000009hUR-1LGs; Tue, 02 Apr 2024 04:42:58 +0000 Message-ID: Date: Mon, 1 Apr 2024 21:42:54 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] fpga: dfl: fme: fix kernel-doc comments for some functions To: Xu Yilun , Peter Colberg Cc: Wu Hao , Tom Rix , Moritz Fischer , Xu Yilun , Alan Tull , Shiva Rao , Kang Luwei , Enno Luebbers , linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, Russ Weight , Marco Pagani , Matthew Gerlach , kernel test robot References: <20240329001542.8099-1-peter.colberg@intel.com> Content-Language: en-US From: Randy Dunlap In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 4/1/24 8:47 PM, Xu Yilun wrote: > On Thu, Mar 28, 2024 at 08:15:42PM -0400, Peter Colberg wrote: >> From: Xu Yilun > > I didn't remember I wrote this exact patch, but anyway the patch itself > is confusing. > >> >> lkp reported 2 build warnings: >> >> drivers/fpga/dfl/dfl-fme-pr.c:175: warning: Function parameter or member 'feature' not described in 'dfl_fme_create_mgr' >> >>>> drivers/fpga/dfl/dfl-fme-pr.c:280: warning: expecting prototype for >>>> dfl_fme_destroy_bridge(). Prototype was for dfl_fme_destroy_bridges() >>>> instead >> >> Fixes: 29de76240e86 ("fpga: dfl: fme: add partial reconfiguration sub feature support") >> Reported-by: kernel test robot >> Signed-off-by: Xu Yilun >> Signed-off-by: Peter Colberg All kernel-doc issues with this source file are already fixed in linux-next by this commit: commit 782d8e61b5d6 Author: Randy Dunlap Date: Thu Jan 12 22:37:20 2023 -0800 fpga: dfl: kernel-doc corrections Fix W=1 kernel-doc warnings in drivers/fpga/: >> --- >> drivers/fpga/dfl-fme-pr.c | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/drivers/fpga/dfl-fme-pr.c b/drivers/fpga/dfl-fme-pr.c >> index cdcf6dea4cc9..96cb24787ab1 100644 >> --- a/drivers/fpga/dfl-fme-pr.c >> +++ b/drivers/fpga/dfl-fme-pr.c >> @@ -166,6 +166,7 @@ static int fme_pr(struct platform_device *pdev, unsigned long arg) >> * dfl_fme_create_mgr - create fpga mgr platform device as child device >> * @feature: sub feature info > > The member 'feature' is described here. It still causes build warning? > >> * @pdata: fme platform_device's pdata >> + * @feature: the dfl fme PR sub feature > > Why adding a duplicated item would fix the warning? > >> * >> * Return: mgr platform device if successful, and error code otherwise. >> */ >> @@ -273,7 +274,7 @@ static void dfl_fme_destroy_bridge(struct dfl_fme_bridge *fme_br) >> } >> >> /** >> - * dfl_fme_destroy_bridges - destroy all fpga bridge platform device > > The prototype is for dfl_fme_destroy_bridges(), why the warning? > >> + * dfl_fme_destroy_bridges - destroy all fpga bridge platform devices > > Correct the plural form in description would fix the warning? > >> * @pdata: fme platform device's pdata >> */ >> static void dfl_fme_destroy_bridges(struct dfl_feature_platform_data *pdata) >> -- >> 2.44.0 >> >> > -- #Randy