Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp302505pxu; Sun, 22 Nov 2020 08:34:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCU4N5syAP36tx0WiFl6W1c8AdwxiY4rPIc2I8lkZM2jwwiCN/PpUbsh2TKWCyokeI5GOx X-Received: by 2002:aa7:d891:: with SMTP id u17mr2037847edq.0.1606062888140; Sun, 22 Nov 2020 08:34:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606062888; cv=none; d=google.com; s=arc-20160816; b=nOndFLTZ8q65s3uuO6pPHN6QRv5ZXFfGf4CSJIZ4EyicehQJFVCmU83LSFSdrhx3hR et1a4obNWXfOzhuv59OmxxGfiilM1VRlBXCbvBmhC3fMSVG8U0I25L+ClK895ulLPV/v a1ybE71Shl1dcZ88njgGrdhffU45NDj5S8mAQRefnxwoKl0PEAT0WCfOYhLQtRaoHXWD Bf9WlgIlxsnVnA4z4LmrN4ENyoc+oktHJk5GO3SKBAPPMfjtdFmBEsepKtYLVdY1fd15 g+aX/UrTdW6pckCvXP7C9fEb9Z+B90NCY+HtgpUgjQLT/ZQbaL2e5bTb05gUXR4dx4/N BHvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=eSFXaX0DZkpNbOwM/RCeF/BEd3n14fz/kurtk7pTmoY=; b=qvWJY/zZUBOzY+N90ec4BifFy6hAxNSlUnKwbceIJfJN3PXdylxfu/ntLF88Qt3FTp b1asAqXknwS18Z/iohEyZPEWWaPiHdizg3cnFEqYgEN5tIBP9O3XKi9K1YtL7tIULVWD 9NgNGECvDyhf8i+NKu+9iHeePaTsL84zziM+PyJ1r59NJp1PNxsW3iPAKR1W56YbtYdG efvEqeljg46sI9/02+uoKvDnjyfkkk7t0SA6+9ggYpnfHgrMTXZtMlGSxTBItQREoS2I 09pCP1oqGEliTyoYXncijsjRMDzIb2o//5biyKt4WwybN+LYzh4Thvpg2r74PbK2jNkJ DQmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="StCMHC/H"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l4si5374676edn.212.2020.11.22.08.34.17; Sun, 22 Nov 2020 08:34:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-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=@redhat.com header.s=mimecast20190719 header.b="StCMHC/H"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728346AbgKVQd1 (ORCPT + 99 others); Sun, 22 Nov 2020 11:33:27 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:50838 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728287AbgKVQdZ (ORCPT ); Sun, 22 Nov 2020 11:33:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606062804; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eSFXaX0DZkpNbOwM/RCeF/BEd3n14fz/kurtk7pTmoY=; b=StCMHC/HyCDcHG808p/9thQCbNHLB97ek1T9oforhFojh55MW9LfrBZih5vkd7qgZ43dSF OZ3JOWRoVWjL7zUSFlP0LDpmoWD2sc3F8Zm34Dd/PaZ0RswUInINC4teeaarn0nRRR/QOI +dDEJjm8SJb3l7vs6UWTL1dZHykwyjY= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-199-HusYmsMoPQuZmUco8S6CuA-1; Sun, 22 Nov 2020 11:33:22 -0500 X-MC-Unique: HusYmsMoPQuZmUco8S6CuA-1 Received: by mail-qv1-f69.google.com with SMTP id 5so11271715qvk.3 for ; Sun, 22 Nov 2020 08:33:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=eSFXaX0DZkpNbOwM/RCeF/BEd3n14fz/kurtk7pTmoY=; b=sj9JuwspjwwIUvVhakT+8t0AH+gL2MNIVTyGm3ch/lSTmNiXYNxCvEr1gHEut0XAe8 QT0j+fBnHNU16kye4cLtJA/9ZpNy7Xe3CRbUnArmdzJvOJ9NSO+NzSZk4r2/+H02gMlb pS3/UI2EOSbe65iRZ7hUDAOKKKrt+fLHjeO+VQm4o98TKZWH5egDzKe0Fv2UlUGxEA+D 2OeX2a2OmnMvDhBXcYQ4sYGNRxlwRdv6UljOfCh/mpVptYph9xjddWYc8HhhH0NbzQaN 2Uz6BtAV9G0DoTNS4KNCBeSlrGsliqUd1iwqQDCQiJ79QPQfgi3Ugr4oLzxrIF4a7FJg yPWA== X-Gm-Message-State: AOAM532T5h0KZgY8uZFH6wl5I01fgzs/iEiDtAJV0jTPMPGnmc8Pm/Sn HV1Rx21ynwYcfjsne4fPp4fXqvTQs+WzrYjLlANKzCfTGkZR6W5Vq/66RpPwibewstIPtzr2ooO inXLU90grtFQmt8RnpZzAbQZBhhk= X-Received: by 2002:a37:a783:: with SMTP id q125mr25815227qke.10.1606062801584; Sun, 22 Nov 2020 08:33:21 -0800 (PST) X-Received: by 2002:a37:a783:: with SMTP id q125mr25815168qke.10.1606062801138; Sun, 22 Nov 2020 08:33:21 -0800 (PST) Received: from trix.remote.csb (075-142-250-213.res.spectrum.com. [75.142.250.213]) by smtp.gmail.com with ESMTPSA id 9sm7113466qke.6.2020.11.22.08.33.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 22 Nov 2020 08:33:20 -0800 (PST) Subject: Re: [RFC] MAINTAINERS tag for cleanup robot To: Joe Perches , clang-built-linux@googlegroups.com Cc: linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, tboot-devel@lists.sourceforge.net, kvm@vger.kernel.org, linux-crypto@vger.kernel.org, linux-acpi@vger.kernel.org, devel@acpica.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, netdev@vger.kernel.org, linux-media@vger.kernel.org, MPT-FusionLinux.pdl@broadcom.com, linux-scsi@vger.kernel.org, linux-wireless@vger.kernel.org, ibm-acpi-devel@lists.sourceforge.net, platform-driver-x86@vger.kernel.org, linux-usb@vger.kernel.org, linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, ecryptfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, cluster-devel@redhat.com, linux-mtd@lists.infradead.org, keyrings@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, alsa-devel@alsa-project.org, bpf@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-nfs@vger.kernel.org, patches@opensource.cirrus.com References: <20201121165058.1644182-1-trix@redhat.com> <2105f0c05e9eae8bee8e17dcc5314474b3c0bc73.camel@perches.com> From: Tom Rix Message-ID: <6e8c1926-4209-8f10-d0f9-72c875a85a88@redhat.com> Date: Sun, 22 Nov 2020 08:33:16 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <2105f0c05e9eae8bee8e17dcc5314474b3c0bc73.camel@perches.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 11/21/20 9:10 AM, Joe Perches wrote: > On Sat, 2020-11-21 at 08:50 -0800, trix@redhat.com wrote: >> A difficult part of automating commits is composing the subsystem >> preamble in the commit log. For the ongoing effort of a fixer producing >> one or two fixes a release the use of 'treewide:' does not seem appropriate. >> >> It would be better if the normal prefix was used. Unfortunately normal is >> not consistent across the tree. >> >> So I am looking for comments for adding a new tag to the MAINTAINERS file >> >> D: Commit subsystem prefix >> >> ex/ for FPGA DFL DRIVERS >> >> D: fpga: dfl: > I'm all for it. Good luck with the effort. It's not completely trivial. > > From a decade ago: > > https://lore.kernel.org/lkml/1289919077.28741.50.camel@Joe-Laptop/ > > (and that thread started with extra semicolon patches too) Reading the history, how about this. get_mataintainer.pl outputs a single prefix, if multiple files have the same prefix it works, if they don't its an error. Another script 'commit_one_file.sh' does the call to get_mainainter.pl to get the prefix and be called by run-clang-tools.py to get the fixer specific message. Defer minimizing the commits by combining similar subsystems till later. In a steady state case, this should be uncommon. > >> Continuing with cleaning up clang's -Wextra-semi-stmt >> diff --git a/Makefile b/Makefile > [] >> @@ -1567,20 +1567,21 @@ help: >>   echo '' >>   @echo 'Static analysers:' >>   @echo ' checkstack - Generate a list of stack hogs' >>   @echo ' versioncheck - Sanity check on version.h usage' >>   @echo ' includecheck - Check for duplicate included header files' >>   @echo ' export_report - List the usages of all exported symbols' >>   @echo ' headerdep - Detect inclusion cycles in headers' >>   @echo ' coccicheck - Check with Coccinelle' >>   @echo ' clang-analyzer - Check with clang static analyzer' >>   @echo ' clang-tidy - Check with clang-tidy' >> + @echo ' clang-tidy-fix - Check and fix with clang-tidy' > A pity the ordering of the code below isn't the same as the above. Taken care thanks! Tom