Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp902471pxb; Fri, 22 Apr 2022 13:53:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXDMYpU1Wlrw4C9IK4AI8fNeGXbR+BopkCotAxWyD/+mMduBZ9BI/jSHrBnEW0+dOU5Kr4 X-Received: by 2002:a17:902:b590:b0:153:a243:3331 with SMTP id a16-20020a170902b59000b00153a2433331mr6619834pls.129.1650660803710; Fri, 22 Apr 2022 13:53:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650660803; cv=none; d=google.com; s=arc-20160816; b=dms4dLoteMkzIFgRWgZG/lBoCij7SgrrRJiF0QwMi8OCa0rRRdTJ0PG5I1tTRu+BcL OilS+D+ecmz5qcpNA2fB8UyKExTo7OiptjKXhhiAJdfyBXhM98xNuDE9WfCCPQ7y7abY VW934e5F7OzMBBvqmdQ1AgtzPD8MIvZF0Cgj6yOowhnQ6S65jttONBLM2Rqkhw8qeEFg UCK8tLrO6al4BZ+4Fh9s+Qh/N+ND5+MFkftSnKuqZVs7Vxww1cbxXemAZpYX75AQpOAq y5At4FxpETfivBKM5dNsynoNO0h8iAjShM3K0b40I9bBEk0ixWSusKhbBj1VZgLiUiD0 mLug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=j6Fy6hHkZQxGgTlL3xckKZgzFBUzdD/IAkyE5C20c1s=; b=A6syD+br9akdxk2j/z1p3TcM6CK4cVNTG7n+oXIHa8Gn2Z9XYoU9N3KPs4pcrrA+la hETWstNSwo1Wbi4BZjy/okrCeO6taDLG/xRNYuSp+4G1hEtT5VVuKdjx/ywsz/mBe/5K jZ4vyNju3VZMUQoExnc+Hxsz/PhPiDuSkl2iXEZEVmi4vixr2gJjS1k6XPN/MbOHozv0 mee0nTnlfRR0FNzBq9BXKu8gnEW7/R1T+ao3/p5ty1QGD42R3iJcNN/sxzE/7V2S5o+G ABQZI8AW6jmlCJDuV1OYaEdKCYLxwfAgZRtyWuzNBhH4Rm/1hHwvZ2eP/7K3/0pmRj6R lYMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=EePhR+I9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j5-20020a170903024500b001583459615esi9723135plh.86.2022.04.22.13.53.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 13:53:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=EePhR+I9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 129B020AE8C; Fri, 22 Apr 2022 12:46:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442860AbiDUX4G (ORCPT + 99 others); Thu, 21 Apr 2022 19:56:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1382034AbiDUX4F (ORCPT ); Thu, 21 Apr 2022 19:56:05 -0400 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB6C4434A5 for ; Thu, 21 Apr 2022 16:53:13 -0700 (PDT) Received: by mail-pg1-x52e.google.com with SMTP id bg9so5949250pgb.9 for ; Thu, 21 Apr 2022 16:53:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=j6Fy6hHkZQxGgTlL3xckKZgzFBUzdD/IAkyE5C20c1s=; b=EePhR+I9hORt8Rkq64I8Jpga00uK6YeWg9eQaJJCC09gApDG50VhY/P9/yG8EMD2Qq 6Fh0RCJw2RnxwUCNKYCAhQd6oLmwHoUcSCDwMA28zLncb0lCMErzvJUcM+chra8VEMJj szGelmLNtZGvW6m9yPvNOWwEmUPPF0G8c3xIY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=j6Fy6hHkZQxGgTlL3xckKZgzFBUzdD/IAkyE5C20c1s=; b=clhes1iw6En0ExXSmlJXOMeSw2OhOs5/Flm870ZeZKKkR3TJirQk0x1xoI26+v+aMG b0R+Xpfm6f7junbtWY7ypm2qbtWUDtXkHXiDre11loP7HCmcAtFyjtw1l6BIaPplc0MP H1RMo16PVggT7sVRlnS6Gbvb4xvRtUiTIxPpnY82hh/gh9p4Yg5JNKcuaVTedzZTEiC2 GviPxtFgiSRpKJEWe1XYhGtKPuv0FGzxXhiJqWv8InbtoGH3+QJCmVx1oPRFN41uYTx+ GEkHQL+AuAH0v9sBGDA/5hEtanx1SQeYTxF1bS0RV3C5veZyGUDhB7QUJhSgcosubKJL Nn+g== X-Gm-Message-State: AOAM531MrqW3/IXgohqRdWMV/YkRQqSYd5vWm6GK+HspBaVRRiwHSF7c 5crprp3btiU+F3r5ioAqlrYcy8IDywqMXA== X-Received: by 2002:a05:6a00:a8b:b0:4cd:6030:4df3 with SMTP id b11-20020a056a000a8b00b004cd60304df3mr2114326pfl.40.1650585193224; Thu, 21 Apr 2022 16:53:13 -0700 (PDT) Received: from google.com ([2620:15c:202:201:e283:652b:fb2e:829f]) by smtp.gmail.com with ESMTPSA id 12-20020a17090a030c00b001d5793b6f71sm3990629pje.13.2022.04.21.16.53.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Apr 2022 16:53:12 -0700 (PDT) Date: Thu, 21 Apr 2022 16:53:10 -0700 From: Brian Norris To: Miguel Ojeda Cc: "Jason A. Donenfeld" , Joe Perches , Andrew Lunn , LKML Subject: Re: list iterator spacing: clang-format vs checkpatch Message-ID: References: <3cbaf145ee577f017cf7aea953c9dd1eb88ed4b4.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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 Hi Miguel, On Sat, Jan 22, 2022 at 02:16:14PM +0100, Miguel Ojeda wrote: > On Mon, Jan 17, 2022 at 10:41 PM Miguel Ojeda > wrote: > > > > So it is coming -- the question is whether we wait a bit until LLVM 11 > > is the minimum supported version (nowadays LLVM 10) or we are willing > > to require LLVM 11. > > LLVM 11 is now the minimum with commit df05c0e9496c ("Documentation: > Raise the minimum supported version of LLVM to 11.0.0"), so I will > give this a go. How's it going? Are you ready to apply this patch? Signed-off-by: Brian Norris --- .clang-format | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.clang-format b/.clang-format index fa959436bcfd..63f0127a409d 100644 --- a/.clang-format +++ b/.clang-format @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 # -# clang-format configuration file. Intended for clang-format >= 4. +# clang-format configuration file. Intended for clang-format >= 11. # # For more information, see: # @@ -545,7 +545,7 @@ SpaceAfterTemplateKeyword: true SpaceBeforeAssignmentOperators: true #SpaceBeforeCtorInitializerColon: true # Unknown to clang-format-5.0 #SpaceBeforeInheritanceColon: true # Unknown to clang-format-5.0 -SpaceBeforeParens: ControlStatements +SpaceBeforeParens: ControlStatementsExceptForEachMacros #SpaceBeforeRangeBasedForLoopColon: true # Unknown to clang-format-5.0 SpaceInEmptyParentheses: false SpacesBeforeTrailingComments: 1 -- 2.36.0