Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp153916iob; Wed, 11 May 2022 11:23:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweFcMLEBHfmEHdnFAxc6Frq8bFI9BJITizp3IoCfP2gAnhbJ5C+Y1VNn4hqsIet2jnIEjj X-Received: by 2002:a17:902:e851:b0:15e:93ac:41db with SMTP id t17-20020a170902e85100b0015e93ac41dbmr26605116plg.26.1652293434510; Wed, 11 May 2022 11:23:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652293434; cv=none; d=google.com; s=arc-20160816; b=H5kf3Ynh131SzS1/kVeeARARoGXpeWRcWwd4FTl+gEBvlKHo/1gVGee7xC+k0PJ5J6 B0Bj49iKgfMvAvr92bzwnH+R56g10oUXzmYbKvSRmLedIN6FJ845iIMVyktv7TXBwTuX 7o3Q/oFYokGoiX3AypxBVmkWBqy4IRHo/c4I99S4NcUIBtspwDwY0Mx+HvDOcTk5BwWv F9GTWXoKoY25Pd/qDKnsbRdRKA74rTN3NvFgNH+hCb4IKV24FOM6PjPO63Rgtp0+Zf4g GYaVnVNDolsaxikGGFNBqDpUVw/AKNtKyory9GFFOi6otgJT0vBmCMJjrAQJh+djSzqq 7HjA== 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; bh=BNykBwMSN3jqYBgxq1G0mwYLMcRE6tQUVasIkYTQR/I=; b=WbfAdYeYcixPw1aj7uVnKveJBoab8C6Rle6/TYv8XEi1ENOBglbVoSuadfTnCE75xt 1KkIqLVHWrLs9tj3PJMogaNHfVFpXg7Z5tvrgo7an4Pr5ZLNOwG3VOIc0SWsRiP02CJC FgzFxuFAtfoiJvXs9Ch2+DDHWVWHIByEX5s8c3QBzpk3WxIjI0mzXxcxSnanRzHwyl9j Txg2zsJgfNXXbNeUh8dFLQg7D1JcNHaZ3AwELmYqNTg2HzpuhAW2MHJa8FG3N/qXTBqY 1V8/hULnELP7X3BC+hUb7s5wln02Vq8FJUCI9Ae14nWOlUvwm7WGQe+u/6Bx8c/VP/Pv rkfw== ARC-Authentication-Results: i=1; mx.google.com; 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 z11-20020a170903018b00b0015e91bd566esi3978374plg.27.2022.05.11.11.23.39; Wed, 11 May 2022 11:23:54 -0700 (PDT) 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; 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 S1345708AbiEKRjG (ORCPT + 99 others); Wed, 11 May 2022 13:39:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345690AbiEKRi6 (ORCPT ); Wed, 11 May 2022 13:38:58 -0400 Received: from relay3.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32B9F2317F6 for ; Wed, 11 May 2022 10:38:58 -0700 (PDT) Received: from omf15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id EF410324D4; Wed, 11 May 2022 17:38:54 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf15.hostedemail.com (Postfix) with ESMTPA id E7B6723; Wed, 11 May 2022 17:38:51 +0000 (UTC) Message-ID: Subject: Re: [PATCH v2 5/5] clang-format: Fix space after for_each macros From: Joe Perches To: =?ISO-8859-1?Q?Micka=EBl_Sala=FCn?= , Miguel Ojeda Cc: Andy Whitcroft , Brian Norris , Dwaipayan Ray , "Jason A . Donenfeld" , Kees Cook , Konstantin Meskhidze , Lukas Bulwahn , Nathan Chancellor , Nick Desaulniers , Paul Moore , Tom Rix , linux-kernel@vger.kernel.org, llvm@lists.linux.dev Date: Wed, 11 May 2022 10:38:50 -0700 In-Reply-To: References: <20220506160106.522341-1-mic@digikod.net> <20220506160106.522341-6-mic@digikod.net> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.40.4-1ubuntu2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_SPF_HELO, KHOP_HELO_FCRDNS,SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Stat-Signature: xk4rirt9tqcfdijxwq6jsuccg5tji759 X-Rspamd-Server: rspamout02 X-Rspamd-Queue-Id: E7B6723 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX18KCf0qJJBiyy4lhCRxjdwXstA6/L23tnk= X-HE-Tag: 1652290731-601001 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, 2022-05-11 at 19:34 +0200, Micka?l Sala?n wrote: > On 11/05/2022 17:40, Joe Perches wrote: > > On Fri, 2022-05-06 at 18:01 +0200, Micka?l Sala?n wrote: > > > Set SpaceBeforeParens to ControlStatementsExceptForEachMacros to not add > > > space between a for_each macro and the following parenthesis. This > > > option is available since clang-format-11 [1] and is in line with the > > > checkpatch.pl rules [2]. > > > > If this is applied, could the .clang_format ForEachMacros: > > block be removed? > > The ForEachMacros block is still required to not put the " {" on the > next line. Pity these aren't linked as many for_each macro definitions and uses exist outside of the grep search paths.