From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E3387C001DE for ; Fri, 4 Aug 2023 18:19:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BuQdVZry4lCGCjjOGuw1Fo4vitivp6wuQc5s1Db1W+E=; b=JbMs4UZkn0hNKl Mtb/cEVQ5lV8L0t2c4ZazFM6bp6x3LIEHyZnQVNxjOAjC4Ls51hOPv+7jQI9A7U0fPTdKM/LhBEAP znf8Tpw1qSxVJp+S4b1Qd8f4+wnOyBEZ7gd8SgJVZqQw9TYQuaUwjSripusz1i0quzQJlhdX6qSvd rExShQ3IO8TZ3JkdGNOBI1SF7tCLMAfp58dDq/jqCxFXw768BeN8TuyrAwaHWBPBCbntVdH9rRBNR n1VHJNA6eSUGOwT3c0friRPx9C6qgvw6FSXXjZq/vDB1sSPuZj212++KYb0nV3cKovhliQymGYyhn n0WxCCuzDM2+v7NzOMuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qRzOP-00Cyms-2g; Fri, 04 Aug 2023 18:19:17 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qRzOO-00CymD-2A for linux-arm-kernel@bombadil.infradead.org; Fri, 04 Aug 2023 18:19:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=98qOA2hy/eGle7yAA5GlRvkVWWpa8WdU1Y+K5iryPA0=; b=PnNUDq2PSjSDtK8+kcZ5YTA5uf apCqSPjXpn1RgT3/6WRhgG7ykJw/bB8q1375z6sbZIS2TvZVQjaLKU4edBI1b9/3Ye5nJKEaQ6Hyv lIc09SVlq7f4kxrLF5yNORL6ft8PRI91e2jwBfbbGefmjzXGubCU9xtzNTPes0g48fK3fmMxGPR3q 5PtsNA0nu28tO57agCKHP7aJqd8wER1pSdXGusQrNx/lXpnkLmHiL1kof/uq7qYMWAfsZUTahQh2H PPxCJHA7jXZzSrP8MdGFJ2/cmEKVC7/FXwjO5TPlPu7UF/uNuF/0LZaDI37Qo5mPomVdhQuygpp1A xNh5kZEw==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1qRzOM-00BKBq-3m; Fri, 04 Aug 2023 18:19:14 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id EF129300235; Fri, 4 Aug 2023 20:19:12 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id CB5C92130B4DC; Fri, 4 Aug 2023 20:19:12 +0200 (CEST) Date: Fri, 4 Aug 2023 20:19:12 +0200 From: Peter Zijlstra To: Steven Rostedt Cc: Marco Elver , Andrew Morton , Kees Cook , Guenter Roeck , Mark Rutland , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Catalin Marinas , Will Deacon , Nathan Chancellor , Nick Desaulniers , Tom Rix , Miguel Ojeda , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Dmitry Vyukov , Alexander Potapenko , kasan-dev@googlegroups.com, linux-toolchains@vger.kernel.org Subject: Re: [PATCH v2 2/3] list_debug: Introduce inline wrappers for debug checks Message-ID: <20230804181912.GN212435@hirez.programming.kicks-ass.net> References: <20230804090621.400-1-elver@google.com> <20230804090621.400-2-elver@google.com> <20230804120308.253c5521@gandalf.local.home> <20230804135757.400eab72@gandalf.local.home> <20230804135902.7925ebb6@gandalf.local.home> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230804135902.7925ebb6@gandalf.local.home> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Aug 04, 2023 at 01:59:02PM -0400, Steven Rostedt wrote: > On Fri, 4 Aug 2023 13:57:57 -0400 > Steven Rostedt wrote: > > > On Fri, 4 Aug 2023 19:49:48 +0200 > > Marco Elver wrote: > > > > > > I've been guilty of this madness myself, but I have learned the errors of > > > > my ways, and have been avoiding doing so in any new code I write. > > > > > > That's fair. We can call them __list_*_valid() (inline), and > > > __list_*_valid_or_report() ? > > > > __list_*_valid_check() ? > > > > I have to admit, I think the main reason kernel developers default to using > these useless underscores is because kernel developers are notoriously > lousy at naming. ;-) Well, that and I detest novella length identifiers. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel