Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6271811rwb; Wed, 18 Jan 2023 03:21:44 -0800 (PST) X-Google-Smtp-Source: AMrXdXuE4dRII5EmyqIiRZoBdwrO4lVv9k1y8cSDy9AHCwR3X1oQEbfktL7cErkrQCVkCP7NXmGI X-Received: by 2002:a17:90a:4b84:b0:226:5900:f2f4 with SMTP id i4-20020a17090a4b8400b002265900f2f4mr6704799pjh.4.1674040904474; Wed, 18 Jan 2023 03:21:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674040904; cv=none; d=google.com; s=arc-20160816; b=mbTGj+RHnz1BihIpBqlu68Riz6sXpg2O/Ld5qFz/osdgy1LiYF/U1W2v2/zklKAp3p x8YWEIbnWExEUDQ+WPBn+H5C4cxOEZ3XxoD6dXC+Vyn5qd9iVDylFiylsLSjAgczJJ3Q abkbBz3uYqPnuxdZJXekg6OAagOa8LxEr432TgBNBcuX1ewtU9ArDUvGqv3k+TTiSbdA hiJTK2GNL+a6XH60p0JQ6J6mSR6UYb7p7Jse1I3VaaDJgTwuMDICi24TebvNncd1tinY IHjsQoMbjE/R+AH8N6dFGEHJ6GqUBXXkRhY8Ogyha5nGQaxlTXKAlqERbzWazFFHE9cw lonw== 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=QhaAxZMapZI8fIvWYzQCziZ4mE39XF2uSgwYQilzAnE=; b=L40Y5BhDT4yZJCDuADjpB8k1lGiDI5fxqLbcS7ejkPPj+3mQSu7PQDnDGRzfwGZDA0 6+fRQwx8/DpzXnK/rixWulhO4MAB/n+ToN2/v8hxoKVP8wygsXjaRaJLMfrtANSz9Oi1 hd1UspbZON1zTp1YwXduzUX7dawCwbt56S+e+w5vMhaImKMYav/eOQo/pdhDBEbv1JWM B/DKJ70icgdMsFPPF9MZoYWD4gN4+UQj408sMbIkftawGDQ4dbggqNqxng3/dbF9QF/F RvbFqLlLQ6WY1g26MFnCelZjGOKWZx729vzavDydb3A4QwkFSCSTcKU8vARR17yPC0X2 Jj3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MiOTsPzf; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id my12-20020a17090b4c8c00b00218b7ae4defsi1994050pjb.134.2023.01.18.03.21.38; Wed, 18 Jan 2023 03:21:44 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MiOTsPzf; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229789AbjARK0q (ORCPT + 45 others); Wed, 18 Jan 2023 05:26:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229913AbjARKZn (ORCPT ); Wed, 18 Jan 2023 05:25:43 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D02666EEA; Wed, 18 Jan 2023 01:30:08 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3C1FEB81C13; Wed, 18 Jan 2023 09:30:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C573EC433D2; Wed, 18 Jan 2023 09:30:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674034205; bh=3XyBFQNLnTyo9L+X0vrC5knpbLQfzzDd/EREfX7SuV8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MiOTsPzfhCtG5D2uMQmCk52l/VOS8fqxJvZPWk57KOq8xyLCHSOgS6UY4qI+N7kPI /JOk6EDQXbDnhyqJuIDv8wP9EfKfmhNa5WIaVYIF05q1YvJOEcOyYUjNYFEBrCDH9Y ItuJ+LdqkqD39zPRSoLHzSyaHNXURNNkWUZsGJs2erhOqDliW7SGP8I4WeeFLT1Y7R 7y3XZQHlKo4yxIgYBWQcFXtoigA0dKA0ioeiG7D4zLHgLO6HQPGL1GLnnfYDoLC7Ut AfrVDOuoOVdg+pGi/Cbi8sE+qokWA6U2JBzMGzMgLhpvlP0PSczfsxmiV2U4bp3GPN chX0f98MBfIEA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1pI4m6-0001jE-0W; Wed, 18 Jan 2023 10:30:30 +0100 Date: Wed, 18 Jan 2023 10:30:30 +0100 From: Johan Hovold To: Thomas Gleixner Cc: Johan Hovold , Marc Zyngier , x86@kernel.org, platform-driver-x86@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Hsin-Yi Wang , Mark-PK Tsai Subject: Re: [PATCH v4 08/19] irqdomain: Refactor __irq_domain_alloc_irqs() Message-ID: References: <20230116135044.14998-1-johan+linaro@kernel.org> <20230116135044.14998-9-johan+linaro@kernel.org> <87v8l4kfpr.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87v8l4kfpr.ffs@tglx> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Tue, Jan 17, 2023 at 10:34:40PM +0100, Thomas Gleixner wrote: > On Mon, Jan 16 2023 at 14:50, Johan Hovold wrote: > > -int __irq_domain_alloc_irqs(struct irq_domain *domain, int irq_base, > > - unsigned int nr_irqs, int node, void *arg, > > - bool realloc, const struct irq_affinity_desc *affinity) > > +static int ___irq_domain_alloc_irqs(struct irq_domain *domain, int irq_base, > > + unsigned int nr_irqs, int node, void *arg, > > + bool realloc, const struct irq_affinity_desc *affinity) > > __ vs. ___ is almost undistinguishable. > > irq_domain_alloc_irqs_locked() nicely explains what this is about, no? Yeah, wasn't too happy about those three underscores either, but with the exported function unfortunately already having a double underscore prefix... I'll try switching to a 'locked' suffix instead. Johan