Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp138142pxb; Wed, 3 Feb 2021 01:33:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJytR5m2u69dgtzq7xwsQVzjjAnnv4Y1ZY9BZH7shgmFOwE3m+6Q7UkNHVkkdIebKEeoozxv X-Received: by 2002:a17:906:289b:: with SMTP id o27mr2314863ejd.391.1612344799214; Wed, 03 Feb 2021 01:33:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612344799; cv=none; d=google.com; s=arc-20160816; b=uVc7dC0/VaH8PyWkif8Zw+jd1RoXmL9PndoM/x1mHe7IEmLYZJ2/rf95VdixpS9RdR 7cS3DFiWnmJKFY+H3/y60rsias8pkIFEQ1RTHyE4LrqQ5z5JVtudgaK0Mq0EfO4lIJ3i cyPS+2za/Xyzj2fIEYXDrWKkMzar0I7xdiQsBuGCspg+672EBY3OgNIv8wy0xniK3UFg m7oD0BVBizwyaP3/6PTYJjpbt7LhKdvKId7OH2noCfQPfinznlTtj/cvp0Vzh/t3HM4V j9HAwBLvEHn0dP7V27CsuYGMP3Uo+GTaTmew3Fi0IdAVG52McifW7vIJ9IYq/OoG223N xdRw== 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 :dkim-signature; bh=VAoa5grz9ER7JEyWFa0fcNdHf38qXZqtMA88GRCrXjQ=; b=MLmcb5lwGaHdQ37R8pSv/5Wj3Syxrc0bUOARsNKuZBmq3P9JU87yHOGk+x69GY73wv dLAqif9qDb7HSZyySogk2mDyH8LyEBK3eANTfe/OSB1kLo84SC4+AIvk+5/D1pi9XM/j PmupLuOjO6uzpC8RH/GCilVN56YtIWgP3P7bazqqxNl+VXEFLOKJV8l/pCkgzC9l+V73 BqV1T9sLDIp8iuqqGHQMZBoNOZXFq4M6SaXYxLq6BKp77zNIba+xsS+3efjYXtzAj6AF zed3mZHmVv1sL8sZCcusGDcGfc06x+JJKGEh/fC3OEha/i1UH2hgaVwjt31wLVke1Ye4 m+PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm2 header.b="rKRxtop/"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=S3tXiMIz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bx17si787904edb.578.2021.02.03.01.32.55; Wed, 03 Feb 2021 01:33:19 -0800 (PST) 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; dkim=pass header.i=@cerno.tech header.s=fm2 header.b="rKRxtop/"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=S3tXiMIz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233342AbhBCJ3o (ORCPT + 99 others); Wed, 3 Feb 2021 04:29:44 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:44739 "EHLO wout2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233215AbhBCJ2h (ORCPT ); Wed, 3 Feb 2021 04:28:37 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id B8DC99EB; Wed, 3 Feb 2021 04:27:48 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 03 Feb 2021 04:27:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=VAoa5grz9ER7JEyWFa0fcNdHf38 qXZqtMA88GRCrXjQ=; b=rKRxtop/20i6t3PEJ74Cld1+XQ63ReDEhxZKubD/7g5 QibY83C4b+Ql2oIhCS7ushMTgRp7tgV0MX1FLISsNDaD2UyI49+gFj0LOH04Kr3A ejdqVu2RF0S4nYENEfhBqEr2xVKwl7RMsqUeTFXykWMaSW1pLh0k+ZmznRsE6UBx srfp0ExRk0G2Qjru2vNpMBYNpwe0jnfyvPmcwriywEYPeiJKzbb7wVakL9NtQeSD qmhBU5mU0HdanwGbqm5EqcXMofl42C/vV9F41t1Ax7D9IwwtaaElKEgzo6SWAocJ XtAT2sacyYPtVVtvQjRsIX0yGL/H9cS1cP0fPt6r2Dw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=VAoa5g rz9ER7JEyWFa0fcNdHf38qXZqtMA88GRCrXjQ=; b=S3tXiMIzexyRJJwRq/kxcZ U5vQvhBtVN7si49GrTA/kGkzOEAsF3XcD/slEG567C6CWsR2a9SEwPS7WRX83O1A nRxWIJ+foX4/bgZwpljCbH6FGIba6ECsGaNs2PivzonfC5AAPi+EzYvDccQGxnEO CzpCwjQQciJ7xwD+TruNz0Vs/3Q8rynn8WwZORMnFS4bKl8MBep8KWN5NCGmtoBL Kn3Ovj5RMkzj8N87HdA5OwRwwzz7phvYfJY9h8qi2VLtAWmVZp3Q/OsBLjk7a3oW q50wY3qWleMbwl0skmrFAEJ2v6qQDQWYhhBdPScSuudrqu28S1jbc5zlfTYkj1/g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrgedvgddtgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtudenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeduvdduhfekkeehgffftefflefgffdtheffudffgeevteffheeuiedvvdejvdfg veenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 524781080066; Wed, 3 Feb 2021 04:27:46 -0500 (EST) Date: Wed, 3 Feb 2021 10:27:44 +0100 From: Maxime Ripard To: Lee Jones Cc: linux-kernel@vger.kernel.org, Emilio =?utf-8?B?TMOzcGV6?= , Michael Turquette , Stephen Boyd , Chen-Yu Tsai , Jernej Skrabec , Boris BREZILLON , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 12/21] clk: sunxi: clk-sun6i-ar100: Demote non-conformant kernel-doc header Message-ID: <20210203092744.yfedaauyynzn537h@gilmour> References: <20210126124540.3320214-1-lee.jones@linaro.org> <20210126124540.3320214-13-lee.jones@linaro.org> <20210126155430.llxijnwf5i4z3end@gilmour> <20210126165459.GG4903@dell> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jajmciffwlsodka3" Content-Disposition: inline In-Reply-To: <20210126165459.GG4903@dell> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --jajmciffwlsodka3 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 26, 2021 at 04:54:59PM +0000, Lee Jones wrote: > On Tue, 26 Jan 2021, Maxime Ripard wrote: >=20 > > On Tue, Jan 26, 2021 at 12:45:31PM +0000, Lee Jones wrote: > > > Fixes the following W=3D1 kernel build warning(s): > > >=20 > > > drivers/clk/sunxi/clk-sun6i-ar100.c:26: warning: Function parameter = or member 'req' not described in 'sun6i_get_ar100_factors' > > >=20 > > > Cc: "Emilio L=F3pez" > > > Cc: Michael Turquette > > > Cc: Stephen Boyd > > > Cc: Maxime Ripard > > > Cc: Chen-Yu Tsai > > > Cc: Jernej Skrabec > > > Cc: Boris BREZILLON > > > Cc: linux-clk@vger.kernel.org > > > Cc: linux-arm-kernel@lists.infradead.org > > > Signed-off-by: Lee Jones > > > --- > > > drivers/clk/sunxi/clk-sun6i-ar100.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > >=20 > > > diff --git a/drivers/clk/sunxi/clk-sun6i-ar100.c b/drivers/clk/sunxi/= clk-sun6i-ar100.c > > > index e1b7d0929cf7f..54babc2b4b9ee 100644 > > > --- a/drivers/clk/sunxi/clk-sun6i-ar100.c > > > +++ b/drivers/clk/sunxi/clk-sun6i-ar100.c > > > @@ -16,7 +16,7 @@ > > > =20 > > > #include "clk-factors.h" > > > =20 > > > -/** > > > +/* > > > * sun6i_get_ar100_factors - Calculates factors p, m for AR100 > > > * > > > * AR100 rate is calculated as follows > >=20 > > This is the sixth patch doing the exact same thing over the files in > > that folder you sent. Please fix all the occurences at once >=20 > No. That would make the whole clean-up process 10x harder than it > already is >=20 > Before starting this endeavour there were 18,000+ warnings spread over > 100's of files and 10's of subsystems that needed addressing (only a > couple thousand left now thankfully). Some issues vastly different, > some duplicated (much too much copy/pasting going which made things > very frustrating at times). >=20 > Anyway, in order to work though them all gracefully and in a sensible > time-frame I had to come up with a workable plan. Each subsystem is > compiled separately and a script attempts to take out duplicate > warnings and takes me through the build-log one file at a time. Once > all of the warnings are fixed in a source-file, it moves on to the > next file. The method is clean and allows me to handle this > gargantuan task in bite-sized chunks. I mean, you have literally used the same commit log and the same changes over six different files in the same directory. Sure changes across different parts of the kernel can be painful, but it's really not what we're discussing here. > Going though and pairing up similar changes is unsustainable for a > task like this. It would add a lot of additional overhead and would > slow down the rate of acceptance since source files tend to have > different reviewers/maintainers - some working faster to review > patches than others, leading to excessive lag times waiting for that > one reviewer who takes weeks to review. Are you arguing that sending the same patch 6 times is easier and faster to review for the maintainer than the same changes in a single patch? > Having each file addressed in a separate patch also helps > revertability and bisectability. Not such a big problem with the > documentation patches, but still. There's nothing to revert or bisect, those changes aren't functional changes. > Admittedly doing it this way *can* look a bit odd in *some* patch-sets > when they hit the MLs - particularly clock it seems, where there > hasn't even been a vague attempt to document any of the parameters in > the kernel-doc headers - however the alternative would mean nothing > would get done! Yeah, and even though properly documenting the functions would have been the right way to fix those warnings, I didn't ask you to do that since I was expecting it to be daunting. Surely we can meet half-way Maxime --jajmciffwlsodka3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYBpskAAKCRDj7w1vZxhR xdZ6AP4rRA0/S6jS9NyjKe9T4p7VaHMetN9ppZuB/NUOoJlyFwD8D1n3Dc1DUcA0 VLJXXOfCEuGjWm9gmaygNm2hBNzP3AU= =XQlf -----END PGP SIGNATURE----- --jajmciffwlsodka3--