Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp56986pxb; Tue, 12 Apr 2022 16:42:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6d0DWoOiM5xp0aiWKByonKJ/Er18AMsW/w6yLicu4G5zUW1dMgmUdH3YlV4n2sxbdLOwV X-Received: by 2002:a17:902:e94f:b0:14f:1636:c8a8 with SMTP id b15-20020a170902e94f00b0014f1636c8a8mr39684971pll.130.1649806945095; Tue, 12 Apr 2022 16:42:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649806945; cv=none; d=google.com; s=arc-20160816; b=JGQqbMPZipReldT+Fkdz8E1Q5aiNuvkwC6wpd+HKrJAflun572wJUP65KbrJ8gKoBc jYVgsasdEw9DlKv0yt2bK5j5sEeXE66TVaQekD6xeN8wlWIdtqdF003ypcahWYpea97S WVQz0Z8rgXt+BtHLNQbzSrwfkWubzceruz3T0WCwbm7RHc9ccWHnx/XRVJ6rbwB8f7GU EyPV7TuiqZAep2+0UtMv9cZPyuVxBCREg16DQq2yTx67Tik8slFNWkeC5/lTyaf1g5az D9gLP/C2RuyHzYLCGT6v3/Bwsoxu4settU5FjOYYzoQnvylcmyzh9pWId7gN8whhqBuU Ts6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:dkim-signature; bh=eTU9stKMPxnFIB44sUoJ0/qFBf96F+ZQwtHg5QchJak=; b=wu8F49mjwyjZi2F0/pJeOYqYlu3e4+KrX75XTnT0d1osQqw6Onz+GBxuLN1y8J2Vne 1Xwpmv68VhbUSZiAOSV7fsWjZKf0yz+AUK8B7idSHxjKsJ5jUjS9tkr3nWhSD9kWfdfg /vaVJ1EnThkrIYC/YnzWST/EPMMNpcs0cWzZjZeUU2NyIaq26DPwZ4nstz5usDUjfMtf boaUcwy2kChaJ9t/U0BwwFFQ3RHGuynX+vf80LPgj2mwsqNtiCmwkMMXDa3h1OXBGuuv 0j1Kv4biB61NopNCHLckQoIdBhogsq50VHa8+p8iOllSMsGxzSDO43enZtP8tGuRo4gl hDFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=DWeNvZZD; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id rj11-20020a17090b3e8b00b001bd14e01fb2si17379626pjb.160.2022.04.12.16.42.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 16:42:25 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=DWeNvZZD; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D3F701168CA; Tue, 12 Apr 2022 14:34:02 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352974AbiDLRIG (ORCPT + 99 others); Tue, 12 Apr 2022 13:08:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358037AbiDLRHw (ORCPT ); Tue, 12 Apr 2022 13:07:52 -0400 Received: from smtp-8fab.mail.infomaniak.ch (smtp-8fab.mail.infomaniak.ch [83.166.143.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F17256005C for ; Tue, 12 Apr 2022 10:05:34 -0700 (PDT) Received: from smtp-3-0001.mail.infomaniak.ch (unknown [10.4.36.108]) by smtp-2-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4KdBtj1VTxzMqLVJ; Tue, 12 Apr 2022 19:05:33 +0200 (CEST) Received: from ns3096276.ip-94-23-54.eu (unknown [23.97.221.149]) by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4KdBth2cV3zlhMBP; Tue, 12 Apr 2022 19:05:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=digikod.net; s=20191114; t=1649783133; bh=WIAqrTnf62NAS0tQGLe8JoQbbvgbUmacFvHp891JW6g=; h=Date:To:Cc:References:From:Subject:In-Reply-To:From; b=DWeNvZZDbPHmTCU+9PS7yiMNtuL8zaK+RZuoWGZjGUtOH8YoFj1gspSKJa5STgn/F PxF7DDMrIHUTeYcm1arziMgGg0ELlv58gJWKuZk4iz5C/OkD6FqY7SW/PN7qlBEDeU FstuiSvjT6tLhSKKFm+MzEXz1OcHnz0+qZDvtVeQ= Message-ID: Date: Tue, 12 Apr 2022 19:05:49 +0200 MIME-Version: 1.0 User-Agent: Content-Language: en-US To: Miguel Ojeda , Shuah Khan , Kees Cook Cc: Miguel Ojeda , Nathan Chancellor , Nick Desaulniers , Tom Rix , bpf , linux-kernel , llvm@lists.linux.dev, "open list:KERNEL SELFTEST FRAMEWORK" References: <20220412153906.428179-1-mic@digikod.net> From: =?UTF-8?Q?Micka=c3=abl_Sala=c3=bcn?= Subject: Re: [PATCH v1] clang-format: Update and extend the for_each list with tools/ In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 I'm wondering about the ASSERT_* and EXPECT_* macros from tools/testing/selftests/kselftest_harness.h Do you think we should treat them as "for macros" as well? They can either be used with or without a following code block. On 12/04/2022 17:58, Miguel Ojeda wrote: > Hi Mickaël, > > On Tue, Apr 12, 2022 at 5:39 PM Mickaël Salaün wrote: >> >> Add tools/ to the shell fragment generating the for_each list and update >> it. This is useful to format files in the tools directory (e.g. >> selftests) with the same coding style as the kernel. > > Sounds good to me. There have been discussions about doing it for the > entire tree too, so we can start with this. > > Cheers, > Miguel