Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp712513pxb; Thu, 25 Feb 2021 13:07:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6/h4L2id/gH+feykIk7HJzZVdUhjNiTZMCaKGoaCcEFQXlGJMYtK7sFSemF/3FEcwz2UJ X-Received: by 2002:aa7:cc8b:: with SMTP id p11mr5084807edt.284.1614287275045; Thu, 25 Feb 2021 13:07:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614287275; cv=none; d=google.com; s=arc-20160816; b=yBVoxsAdwqONBgfZpnGqMg0dRJL+G3AUeEMNxRx1Ii9yHVPT/WQTwwhfyG/tvqkdVL 8BcFNyAMwURfDFPNm5zk9b0CK9FOIkiiHWM0d+lJpIQLL6tSixEqc6DYPOD3xSLzjc98 rF2CVqwXJDL1GWAKIRCPRVZ3fwngWQ5TGc+lPoauDszPJwskULoH6yfkp4PDTFnkc4p1 nXNhxpka+1qlE7OqPdG/tRBwtu8TnBnm31vajHi0AXaJDO/LDb58OCoRTkQPr0Fh/kkS 4ie9KIdqftqSHA2lc344Vk0sxGUo3KNPwBe2wJNOFz9RkdxaNTL0QVvbMe99ANxqZ0B/ us7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=4yP3fI96RAyHlM7rQ8cMUEJ8h0sZpAru2fyy42lm1+0=; b=oFmJUR5sk13pYNVpgCzUXu1vhAIc3df7tSFAS/Rnbz0c0NQaXV5lTG2kBPjcR3+ksV g5ZwARY/Oetan+kVZR1ol1YPC8fclgB5cpXHmN5mDHS2JM/HJzDIa8RNuoXfFjok9LuC AnUsx5j6z7c0Vns8w4gzOB/BEF36Lx+RwwoL0OueU7u4Mh6r0kM41gkg3bVr5zdkPqSe S/57yiDJuocXI4WFINMb1KyeA5q7NFHRdOiDltnczltlNMVPWD5p15nR1lyWWbA+ovnx wpRYGTiUuSnLFNlk97QNEOzZ6MF39InmPyk6RxCjhEmL4mhF4vh7DPeapTky7CTMuUyM 34cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NQlmNhAK; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c24si4094051ejj.295.2021.02.25.13.07.32; Thu, 25 Feb 2021 13:07:55 -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=@kernel.org header.s=k20201202 header.b=NQlmNhAK; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234143AbhBYVHB (ORCPT + 99 others); Thu, 25 Feb 2021 16:07:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:56168 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233403AbhBYUzq (ORCPT ); Thu, 25 Feb 2021 15:55:46 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5FA1B64DA3; Thu, 25 Feb 2021 20:55:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614286505; bh=G9IMobkduNXNp77gtGj9v6ooEe9z5eqMcQHbgs8ufx4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=NQlmNhAKNAW/NF+b1b5yu69849sDzpqUW5wqAF8dEiPfDPvP6z32I9igms5SvkQ5E j2z/Slx6PSH0gG1X9LNjOOPoXws7qRAoKWkffl4YQx7xt0G+g3J8Tw3Hqr/C+UCd4X JR2fCTD7GiexA8Sku9gJNmfQGwTdfzfUzE/D+y/WavhReqtQHl3EV44kgvav89VnrR lmZbs7bGoQlzuXpc27ukSAjbBm//2Cr+dD4eMQu2rKz6vhPGrb2S7BmM0wwx5nvpci 6sot38l5YL8JV7qQ3mo2tiAbe6jhgiyiP2TWI49079h2fLD3ARVDNL2IYtfsWnQ1uS laPAwgeZ6+OTQ== Date: Thu, 25 Feb 2021 21:55:01 +0100 From: Mauro Carvalho Chehab To: Dwaipayan Ray Cc: Joe Perches , Jonathan Corbet , Lukas Bulwahn , linux-kernel-mentees@lists.linuxfoundation.org, linux-kernel Subject: Re: [PATCH v7 0/2] checkpatch: add verbose mode Message-ID: <20210225215501.2408c97b@coco.lan> In-Reply-To: References: <20210222075205.19834-1-dwaipayanray1@gmail.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, 25 Feb 2021 23:38:03 +0530 Dwaipayan Ray escreveu: > On Thu, Feb 25, 2021 at 11:03 PM Joe Perches wrote: > > > > On Mon, 2021-02-22 at 13:22 +0530, Dwaipayan Ray wrote: > > > Add a new verbose mode to checkpatch. The verbose test > > > descriptions are read from the checkpatch documentation > > > file at `Documentation/dev-tools/checkpatch.rst`. > > > > > > The verbose mode is optional and can be enabled by the > > > flag -v or --verbose. > > > > > > The documentation file is only parsed by checkpatch.pl > > > if the verbose mode is enabled. The verbose mode can > > > not be used together with the --terse option. > > > > I don't have any real objection to this patch set, but as this > > might be added to the Documentation tree and in .rst format, > > perhaps Jonathan Corbet and/or Mauro Carvalho Chehab might have > > some opinion. > > > > Also I do not want to be a maintainer of this .rst file and > > likely neither Jon nor Mauro would either. Perhaps you? > > > > I could take it up if everybody is okay with it! > > > Ideally, the patch order would be reversed so the .rst file > > is added first, then checkpatch updated to use it. > > > > Sure, if Jonathan or Mauro has no objections to it, I will be happy > to resend it so that it can be picked up properly. I don't have any objections, provided that I won't be maintaining it :-) - Just my two cents: IMO, maintaining this on a separate file can be a maintenance nightmare, as this is the kind of thing that can become obsolete real soon. One alternative would be to use Pod::Usage module, just like this script does: scripts/get_abi.pl with something similar to that, calling $ checkpatch --man Could generate a man-page style with all options, while: $ checkpatch --help would print the current help page. Yet, this would generate more work for Joe, as, for every new type, the corresponding help text would be needed. Thanks, Mauro