Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp613181pxm; Thu, 3 Mar 2022 00:39:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJzt+D8qSF0uXliiA51GyMaXqf/lkwq5ao/TQWtEM3IWVrioa+mEBJV9mVTE1k/GviLf3EAM X-Received: by 2002:a17:902:834a:b0:14f:3337:35de with SMTP id z10-20020a170902834a00b0014f333735demr35619174pln.8.1646296755164; Thu, 03 Mar 2022 00:39:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646296755; cv=none; d=google.com; s=arc-20160816; b=NhfkAS+HXmcLdPesZlEwK8GvvSqOTll4Bp8ee/MB804BZnoRFYYQyxdu9A8t1S6hRk TlQI+xCmHTp2yvJSk8jhESL60JB77KAt4VPcpoB5VxTdnRbu4sT+lMxbQOFsEtXRtvHD SA96Z1Qs+dRUQWalwDR33axfsoaucHbRr5utR+RDY/BE7OL2rnOFKqwXrQdkWulEdh1w 2E5r3wdtvHtRMA+86tVMb4wMoMv0O5a4SKRNxyUCWbPBdHJvI8nylZ/DABLMLNHAw4xD MCxlopx2vs3/JOMS4v9Gyx9SajEcXEG4k1PAcvVtlzGX3clJFKYdmnoQJCtkBXL1kmtM lk5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=atfxuid6e0L2hecp7attQXvPKmB6bGaKLyrJYHTr/dU=; b=R3iV8xFffYwNCdyfCR9vLRWpmRpLIOHG6mNPkw5VPKNcqC7L6yFklNJynyxC3M0MtM qPYgk15ZeJn1rNdaN8wg/pugNqSo+KJRRVU2eWlMT70iOFvthuYl7wiWfxgr9HH54SQy RzEL+mdfHnEXeLc6u76mqK0miLoEsBjVGnjAaLEeSn97Ik121QP9ms/u+yOtsWKtbVQJ QDVW25vd30rAhCwJZNCTHfvvGBem7/wVq+OxZzVGLFmCr5qW0DZK/qBEQMMA8/9rMebK gQo8YCVhC93vYeY9QduyRlo3x/3ypcsTjc7Zg2otIVhrFCD7ASpd96Z7uMNSYE1bSnPf Hf/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=DTsFBzSK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a170902704b00b0014af1b7c591si1326670plt.580.2022.03.03.00.38.57; Thu, 03 Mar 2022 00:39:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=DTsFBzSK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230496AbiCCIgd (ORCPT + 99 others); Thu, 3 Mar 2022 03:36:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229864AbiCCIgc (ORCPT ); Thu, 3 Mar 2022 03:36:32 -0500 Received: from wnew3-smtp.messagingengine.com (wnew3-smtp.messagingengine.com [64.147.123.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED9F313DE02; Thu, 3 Mar 2022 00:35:47 -0800 (PST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.west.internal (Postfix) with ESMTP id 533612B0025D; Thu, 3 Mar 2022 03:35:44 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 03 Mar 2022 03:35:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=atfxuid6e0L2hecp7 attQXvPKmB6bGaKLyrJYHTr/dU=; b=DTsFBzSKEjzfDla//Pr0bprESm1H5jLIn lpW76snRUIOeG5sLR+37XtEcEUgvz7aJbp+j1Sl2d+v1Im9nHGHI4H2b2CXqR5o+ PboPnPV2s6L4XCSfbVUEYAXREHDY7HZ2a7llI+0jlrFzulNkZX+9YgBbt1TwqHIw 3h1wL8GX0wTTi7z32x3fTSbA7odkE8GZFRyOUp/WogvfIA97HoDF3Xez+SVnJXzb BzjdjccIn7LZn1s31iTrnpDQmZOw/Zpe/WejW+2BwBhYT6XYfHNRWmkCWpBNesAU upqgMLezCtReekEhrZQBsvx/jfwCwdtDIUYRFCTpy8ALX6pl/uk2A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddruddthedguddvvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvufgjkfhfgggtsehttdertddttddvnecuhfhrohhmpefhihhnnhcu vfhhrghinhcuoehfthhhrghinheslhhinhhugidqmheikehkrdhorhhgqeenucggtffrrg htthgvrhhnpefgtdegudfgheehhfeugeeffefhvefgjeevffegfeduffdugeekkeffffej jeehtdenucffohhmrghinhepghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepfhhthhgrihhnsehlihhnuhigqdhmieek khdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 3 Mar 2022 03:35:34 -0500 (EST) Date: Thu, 3 Mar 2022 19:35:25 +1100 (AEDT) From: Finn Thain To: Tom Rix cc: Joe Perches , Bart Van Assche , kashyap.desai@broadcom.com, sumit.saxena@broadcom.com, shivasharan.srikanteshwara@broadcom.com, jejb@linux.ibm.com, martin.petersen@oracle.com, nathan@kernel.org, ndesaulniers@google.com, Konrad Kleine , megaraidlinux.pdl@broadcom.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] scsi: megaraid: cleanup formatting of megaraid In-Reply-To: <8dd05afd-0bb9-c91b-6393-aff69f1363e1@redhat.com> Message-ID: <233660d0-1dee-7d80-1581-2e6845bf7689@linux-m68k.org> References: <20220127151945.1244439-1-trix@redhat.com> <0adde369-3fd7-3608-594c-d199cce3c936@redhat.com> <46441b86-1d19-5eb4-0013-db1c63a9b0a5@redhat.com> <8dd05afd-0bb9-c91b-6393-aff69f1363e1@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2 Mar 2022, Tom Rix wrote: > >>> Long term, it would be good have a reliable way to automatically fix > >>> either new files or really broken old files. > >> That's really a maintainer preference no? > >> > >> Especially so for any automation. > > > > In practice everything is up to the maintainer. > > > > If some maintainer wants fix their formatting then clang-format should > > just work > > > > It isn't likely they will have time to hand fix every file. > > A follow up issue in the clang project has been raised by Konrad, here > > https://github.com/llvm/llvm-project/issues/54137 > Why request a "leave" option for every style rule? Why not just a "leave" option for the most contentious rules? The response from the developers that anyone who wants to leave existing code unmolested by certain rules should "wake up and smell the coffee" is obnoxious, IMO. Presumably clang-format must grow until it has sufficient program logic and config options to cater to every exception to every rule. How long will that take? Some carefully chosen "leave" options might make the program much more useful in the near term. > Tom > > > > > > Tom > > > >> > >> >