Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp969533pxb; Thu, 25 Feb 2021 22:02:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWaddkiy1CQJpLwJveRaF+kVl3A6AkIq1cVOnA4oZaMI6/Z5AKWyU72tZGFWQuzoHtbYsC X-Received: by 2002:a17:906:4442:: with SMTP id i2mr1540893ejp.41.1614319324851; Thu, 25 Feb 2021 22:02:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614319324; cv=none; d=google.com; s=arc-20160816; b=wbfnw4eISySoVAqOZY+oD6qdkJAozvkzR8/B2GQJ5B+T6lNVpTnW5ouWjZiwdVGHS4 N7pPr6r4Jb9JqZ64Yz2jWNtYYXR30XJ4yje43MJ2I0+TWrAJ6xlqkjU2wLFcdjVU2hyE prFLecA9iJvwTHzClu4m2eBuMZ/Qr2vO4wqHSFbrsCq1ipEVaWhEKregnmg3qig+y6NH SYrDsleNzyEJf0u+Wky+GZFWuNysNk+U7TrIvOOJ82HgeiKt5j79Mx46SPVfUVOSmjzA ar+O6gekfaLgfyrkIgvu9xaXBeRr8U4vBpzE6bJRF15IqXxkdsx5JBFBsN5bz+Sb0c6y b4Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=SUbJkX3+ChwFs5viSnYM7S9ECtxTPFKeIwcxjjxFkE8=; b=w/OkVe3pBWCw+iPMgQ9Ez2gSN/+TdgJ9c5jTkuy/VXhIWLKityioIZTp9mPKTG6Xei geGiv/UuJY2Mg+JZMhN6sF4FM9kHlxQE6WIbDC2WQTWzh9/G5pa+/b3pRPGa3GzJUHTL Qdny+du2/Yq4PZzz6R5OBkQcH2Oy1AUTJ4tnMmUVBVZYlRIgXexHBDFCAAjtvCXxcxp3 WhFl1Txp2/URqAnyEQcjcexEWIh4QEhy1zm3WkNySqobTLowQTGE9QJpaw6dzilv8a1t 8g6xfLuap6/8Sr+jKQ7VPE0xNLP8fQfPUsnPrz8lpTkUn+a+OzjWsVaI5S2TmO58z6CB 3bLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=e3YOIj91; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y2si526573edc.519.2021.02.25.22.01.17; Thu, 25 Feb 2021 22:02:04 -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=@gmail.com header.s=20161025 header.b=e3YOIj91; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229526AbhBZGAc (ORCPT + 99 others); Fri, 26 Feb 2021 01:00:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbhBZGAb (ORCPT ); Fri, 26 Feb 2021 01:00:31 -0500 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 318E4C061574 for ; Thu, 25 Feb 2021 21:59:51 -0800 (PST) Received: by mail-io1-xd31.google.com with SMTP id 81so4879722iou.11 for ; Thu, 25 Feb 2021 21:59:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SUbJkX3+ChwFs5viSnYM7S9ECtxTPFKeIwcxjjxFkE8=; b=e3YOIj91iZfaskr8kUU3POmC1+y3wMjvg+H27v7mBd7E/msI941MLffxWLme+copNS jDHFWkKw1YeFJs5PVKrcMmcK4LJ9gRxLZdWaQ4f7aGjC/NgfYNOORFaowoz1Su9//5rg xn4JQ61vEP1+oLtotjYKy3DshBwjnGNGhyskbW+Lz1f7vKSJwhMB70+Uc1MlA4cL7SsR E/hjE4UYPGhviTCkwNXgV4R74Fgx2IAHJggbCqqC5/8MqqQTa4quNpjLR1+ctf3mdeaC jQbd0rD39oZroLEkgmFyNPJccNMHp8aRQBOX4ihMkaderKRB+nq6FzmQBHRbj3S0+FBW Nzbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SUbJkX3+ChwFs5viSnYM7S9ECtxTPFKeIwcxjjxFkE8=; b=hRa7YbkMmAUcNpgVEe3ahWZfDnNxujrxjgFF0f8WvqKxFvzWqZp9iOQ8gmU4XvwPzG WP//f2heBXeeKzwXxxN6iaZtzxQn0TVpuK18RThBqlCXKOVbrpKeFex34K6OEuKjQqXH eJByQrM3vhcDhd2VBoI7VQxIt1kMOZK9PoemI1gKiti/D0MSZJT9XwyGul0O18amSh6n /5fnPmimJ7N4Suf0/4Qc7JCEmXi5CYEgP9StF+1ihjcXR9MCt+bivJV5WCXCsdECx+IH uhs9ZPWQtvQbbP+jLttEVC5LvLEVUB9sWFHzEsbapnlPHv1lf7pgFgdehMXtiwzwmWx3 Fqog== X-Gm-Message-State: AOAM533S8EUjTqVpO+tmPgE2naPRzumLPQEwgHwPcrwJm6xCHE8kWAPf NyYPqMiObVBJ6de0Uq4Asu+Q1MspfKrLGofc5tyhQTS70mQ= X-Received: by 2002:a02:866d:: with SMTP id e100mr1347002jai.139.1614319190497; Thu, 25 Feb 2021 21:59:50 -0800 (PST) MIME-Version: 1.0 References: <20210222075205.19834-1-dwaipayanray1@gmail.com> In-Reply-To: From: Lukas Bulwahn Date: Fri, 26 Feb 2021 06:59:39 +0100 Message-ID: Subject: Re: [PATCH v7 0/2] checkpatch: add verbose mode To: Dwaipayan Ray Cc: Joe Perches , Jonathan Corbet , Mauro Carvalho Chehab , linux-kernel-mentees@lists.linuxfoundation.org, linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 25, 2021 at 7:08 PM Dwaipayan Ray wrote: > > 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! > And as I set Dwaipayan on this task on documenting checkpatch, I will assist in maintaining this file as well. I will also pull some strings to increase chances that Dwaipayan becomes a longer-term member in this community and on this maintainer task. > > 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. > > > And _a lot_ more types and descriptive content should be added. > > Yes that's for sure. If this makes it I will try to get all of the > other types in. I agree as well, probably a critical mass for inclusion is that we have at least 25% (so roughly 50 rules) documented. > And if Lukas agrees, a little help from my fellow kernel mentees will > be nice as well! > Completely agree. I will recruit new mentees and go through the exercises with them, until they are ready to send proper patches to checkpatch.rst. As the designated maintainer of that file, you will be busy reviewing, consolidating that content and pushing back if it is not good enough for inclusion (so just as in the typical "good cop-bad cop" game: I will motivate and help them to submit, you make sure you get good content). Lukas