Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp309988pxu; Sun, 22 Nov 2020 08:51:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJyeXP0kTrY5ptjZ7YOqKP+EN7I6aAoWswtKbzh+Esd8Jjy6qTtQiz8B6auonFmg5YN0e8Rl X-Received: by 2002:a05:6402:1153:: with SMTP id g19mr43813533edw.312.1606063885870; Sun, 22 Nov 2020 08:51:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606063885; cv=none; d=google.com; s=arc-20160816; b=e1oq5ZJZx8cRzxLn2WkggYua0MeCuzKh19qxVyL1r/sTbaDgqk2X2G95MABYxYEFFk cpQPbwXuAUQX8ZsKUGgr4UJbuV+eewNWOuhld/yttnor091WV6Ga/UHaHKvcVZVveTsy FUiSHu3P1bxwoWNuPo0Oaz6awxFCMYLNO/W2B8cdQ6aHTF+0ePyKnhBaJStGcgu3HL2O faGc5O74pCyJ05H0SznXbM+6K1kjV9fLIPI9nT6XnJqZDxK/jJDpOuHbw1tNFJ6PbJ16 W83PSvHGw3cUzDO1r3n9Tl1OWdKcASIBCw1fhAwrUA3D4FlXwntVJJof+AjWvZvyDCo1 k9+A== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature:dkim-signature; bh=R/wn9/BrMbhAZzxsAIbnAbxRNy8av/goU11P1aFt7Js=; b=zcEYw8LlUBrjahHQkWT4M5ZCfq0loa5+ywylzcNnsc0KrsEC4HxHpda1Zdqv7cYFxN yzo5l6FSXLVAxOXQGNvHMcUBfIyPuvCb2t3N5+MBf0uNhjuO+9nXfb5paZ2ud9HAK/0Y tTvt2YAgYJqYhc4gebVKll3ierMXXWNnO6h738a4B3posAtjZQjfALKvyPnCcK0rS31J SBS3KYJHQQB/86jz8tJi+EI8wowzRl4FGXiNXIXJ36jw6+sQ7ip0I/vOEDnWbIkTBsnS sGvRsrBloNee/WVt+ottk74q0mLbY/BXwI4WpqfECsk2IKeMZFWhf6eSB1EXe8VoIe/t dBjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=DJQ3WuSC; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=DJQ3WuSC; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t8si5363221edj.6.2020.11.22.08.50.54; Sun, 22 Nov 2020 08:51:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-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=@hansenpartnership.com header.s=20151216 header.b=DJQ3WuSC; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=DJQ3WuSC; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727969AbgKVQtq (ORCPT + 99 others); Sun, 22 Nov 2020 11:49:46 -0500 Received: from bedivere.hansenpartnership.com ([96.44.175.130]:55320 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727317AbgKVQtp (ORCPT ); Sun, 22 Nov 2020 11:49:45 -0500 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id AB0CF1280302; Sun, 22 Nov 2020 08:49:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hansenpartnership.com; s=20151216; t=1606063784; bh=17TrMRtvefoo+nGHR97pCnj/lxz5M0xWRk4mlB4j/j4=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References:From; b=DJQ3WuSCh5ONJkQLvrRDKWjtqFtZT1TAPnAUYm6nnSis8bRSxmxTUdD1PrB7UWicY RxKUvvDgawnlhMMDvZIHrNHIQxzEk4H+L7edJ9WYAgYp3e2Z+uWjpWqDuwMfVruTvK GP/WMd/p5KAU/iZA/nGFhNVXHTmLoWjH8aSdKt9E= Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iwIwMm9lBMHQ; Sun, 22 Nov 2020 08:49:44 -0800 (PST) Received: from jarvis.int.hansenpartnership.com (unknown [IPv6:2601:600:8280:66d1::527]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id CCD1012802EA; Sun, 22 Nov 2020 08:49:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hansenpartnership.com; s=20151216; t=1606063784; bh=17TrMRtvefoo+nGHR97pCnj/lxz5M0xWRk4mlB4j/j4=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References:From; b=DJQ3WuSCh5ONJkQLvrRDKWjtqFtZT1TAPnAUYm6nnSis8bRSxmxTUdD1PrB7UWicY RxKUvvDgawnlhMMDvZIHrNHIQxzEk4H+L7edJ9WYAgYp3e2Z+uWjpWqDuwMfVruTvK GP/WMd/p5KAU/iZA/nGFhNVXHTmLoWjH8aSdKt9E= Message-ID: <751803306cd957d0e7ef6a4fc3dbf12ebceaba92.camel@HansenPartnership.com> Subject: Re: [RFC] MAINTAINERS tag for cleanup robot From: James Bottomley To: Tom Rix , Matthew Wilcox Cc: joe@perches.com, clang-built-linux@googlegroups.com, 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 Date: Sun, 22 Nov 2020 08:49:41 -0800 In-Reply-To: <0819ce06-c462-d4df-d3d9-14931dc5aefc@redhat.com> References: <20201121165058.1644182-1-trix@redhat.com> <20201122032304.GE4327@casper.infradead.org> <20201122145635.GG4327@casper.infradead.org> <0819ce06-c462-d4df-d3d9-14931dc5aefc@redhat.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Sun, 2020-11-22 at 08:10 -0800, Tom Rix wrote: > On 11/22/20 6:56 AM, Matthew Wilcox wrote: > > On Sun, Nov 22, 2020 at 06:46:46AM -0800, Tom Rix wrote: > > > On 11/21/20 7:23 PM, Matthew Wilcox wrote: > > > > On Sat, Nov 21, 2020 at 08:50:58AM -0800, trix@redhat.com > > > > wrote: > > > > > The fixer review is > > > > > https://reviews.llvm.org/D91789 > > > > > > > > > > A run over allyesconfig for x86_64 finds 62 issues, 5 are > > > > > false positives. The false positives are caused by macros > > > > > passed to other macros and by some macro expansions that did > > > > > not have an extra semicolon. > > > > > > > > > > This cleans up about 1,000 of the current 10,000 -Wextra- > > > > > semi-stmt warnings in linux-next. > > > > Are any of them not false-positives? It's all very well to > > > > enable stricter warnings, but if they don't fix any bugs, > > > > they're just churn. > > > > > > > While enabling additional warnings may be a side effect of this > > > effort > > > > > > the primary goal is to set up a cleaning robot. After that a > > > refactoring robot. > > Why do we need such a thing? Again, it sounds like more churn. > > It's really annoying when I'm working on something important that > > gets derailed by pointless churn. Churn also makes it harder to > > backport patches to earlier kernels. > > > A refactoring example on moving to treewide, consistent use of a new > api may help. > > Consider > > 2efc459d06f1630001e3984854848a5647086232 > > sysfs: Add sysfs_emit and sysfs_emit_at to format sysfs output > > A new api for printing in the sysfs. How do we use it treewide ? > > Done manually, it would be a heroic effort requiring high level > maintainers pushing and likely only get partially done. > > If a refactoring programatic fixit is done and validated on a one > subsystem, it can run on all the subsystems. > > The effort is a couple of weeks to write and validate the fixer, > hours to run over the tree. > > It won't be perfect but will be better than doing it manually. Here's a thought: perhaps we don't. sysfs_emit isn't a "new api" its a minor rewrap of existing best practice. The damage caused by the churn of forcing its use everywhere would far outweigh any actual benefit because pretty much every bug in this area has already been caught and killed by existing tools. We can enforce sysfs_emit going forwards using tools like checkpatch but there's no benefit and a lot of harm to be done by trying to churn the entire tree retrofitting it (both in terms of review time wasted as well as patch series derailed). James