Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4578114rwb; Mon, 31 Jul 2023 08:57:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlEH5P0sxKFqfmgLsK7bEgBW+zTiA9BYDU+f9qaomD+ZFXaL/SAPzo7Vc3KXl80ugXaWSSr+ X-Received: by 2002:a17:90a:5ae3:b0:262:e742:f419 with SMTP id n90-20020a17090a5ae300b00262e742f419mr9681266pji.47.1690819020089; Mon, 31 Jul 2023 08:57:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690819020; cv=none; d=google.com; s=arc-20160816; b=Cm7U0rDSJjHOHU+O01pvUsyOI4ARTlonRqDZHZ/U3IqbeyvYQlHAnSKnU5UanqnM27 nlj3grlHB/t6gjQGjhluSpH3lhUA25mtcDd9fJ0VdHi/waIajxg9JBKKK0o2tAlaFL0Z A5YirSGgf64GFjaXaV9nN1m6wNKH6/yCk+Htqa0V/tgyI2v3sFxDE9ZFq5rTiugM6nE4 sOu1nOUR/+mLCX2CYWVDHb3wYf1P3Av/prBP4scVu3j4SE/J0bWg88W0icxlc6CJE5D0 OsF6o262tPcygdJZptmz0H/rS/BPXkC5TSghc7ilIHhZcuikHX0Jlgi8Rko/EHlZpC6p djcg== 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 :references:in-reply-to:message-id:subject:cc:to:from:date; bh=vhjOuHE5ikgf/US/XO9plciU49/CLHuHMPFchskh4k8=; fh=xP/n2CHt0trylivLqw1z2f9vfC0gZL+B5gwWBf4Ik5s=; b=ahPYP9h38YuLoBu3ei39CaXhfWobxBQp7pnyDHPrRGs+6Feam/bjiWltZOwDLVoZIu gOLyuGaLmcrotYmH3dJz1ROahjoLgwPpZle9QkUoXD2RBvm0fZjNx9pIMxixN4iTv6fb p5azZCW0tmxFCS/m08Uf28fuAnKWWPXIt1Qg9hWa7uUdHh15gzu91bL8Cbbtcmbrqmqu RbMKuAsDwHmvEqcnWFzKtd6U5ORR5uu+jjdxaLnW7+TNZPW/6ad3S9YTDXSeQQonTLfO zeg7uT3+7nvmTQrP1qzdWL6eDADq9f+u/vuYEjIUypWqo3CgqogeQA8AKN78LnbmfICY vAvg== 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 em9-20020a17090b014900b002680e08a877si8813022pjb.186.2023.07.31.08.56.46; Mon, 31 Jul 2023 08:57:00 -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 S232560AbjGaPsS (ORCPT + 99 others); Mon, 31 Jul 2023 11:48:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232487AbjGaPsO (ORCPT ); Mon, 31 Jul 2023 11:48:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87B3710D; Mon, 31 Jul 2023 08:48:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 210FF611BD; Mon, 31 Jul 2023 15:48:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AAAFBC433C8; Mon, 31 Jul 2023 15:48:05 +0000 (UTC) Date: Mon, 31 Jul 2023 11:48:03 -0400 From: Steven Rostedt To: Valentin Schneider Cc: Josh Poimboeuf , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-doc@vger.kernel.org, kvm@vger.kernel.org, linux-mm@kvack.org, bpf@vger.kernel.org, x86@kernel.org, rcu@vger.kernel.org, linux-kselftest@vger.kernel.org, Masami Hiramatsu , Jonathan Corbet , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Paolo Bonzini , Wanpeng Li , Vitaly Kuznetsov , Andy Lutomirski , Peter Zijlstra , Frederic Weisbecker , "Paul E. McKenney" , Neeraj Upadhyay , Joel Fernandes , Josh Triplett , Boqun Feng , Mathieu Desnoyers , Lai Jiangshan , Zqiang , Andrew Morton , Uladzislau Rezki , Christoph Hellwig , Lorenzo Stoakes , Jason Baron , Kees Cook , Sami Tolvanen , Ard Biesheuvel , Nicholas Piggin , Juerg Haefliger , Nicolas Saenz Julienne , "Kirill A. Shutemov" , Nadav Amit , Dan Carpenter , Chuang Wang , Yang Jihong , Petr Mladek , "Jason A. Donenfeld" , Song Liu , Julian Pidancet , Tom Lendacky , Dionna Glaze , Thomas =?UTF-8?B?V2Vpw59zY2h1aA==?= , Juri Lelli , Daniel Bristot de Oliveira , Marcelo Tosatti , Yair Podemsky Subject: Re: [RFC PATCH v2 02/20] tracing/filters: Enable filtering a cpumask field by another cpumask Message-ID: <20230731114803.019158b9@gandalf.local.home> In-Reply-To: References: <20230720163056.2564824-1-vschneid@redhat.com> <20230720163056.2564824-3-vschneid@redhat.com> <20230726194148.4jhyqqbtn3qqqqsq@treble> <20230729150901.25b9ae0c@rorschach.local.home> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_PASS,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 On Mon, 31 Jul 2023 12:19:51 +0100 Valentin Schneider wrote: > > > > Also, when you do an empty for loop: > > > > for (; str[i] && str[i] != '}'; i++); > > > > Always put the semicolon on the next line, otherwise it is really easy > > to think that the next line is part of the for loop. That is, instead > > of the above, do: > > > > for (; str[i] && str[i] != '}'; i++) > > ; > > > > Interestingly I don't think I've ever encountered that variant, usually > having an empty line (which this lacks) and the indentation level is enough > to identify these - regardless, I'll change it. Do a "git grep -B1 -e '^\s*;\s*$'" You'll find that it is quite common. Thanks, -- Steve