Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1017403rwr; Fri, 5 May 2023 08:04:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4zNmfVGeAC+mpJ+ixpxzCRTkigQSHGpg5osOp4yoDeHjCe+L2BWz083zCzFL0NdAw6O5Aa X-Received: by 2002:a17:90b:2354:b0:24e:df1:df8 with SMTP id ms20-20020a17090b235400b0024e0df10df8mr1553773pjb.49.1683299085116; Fri, 05 May 2023 08:04:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683299085; cv=none; d=google.com; s=arc-20160816; b=qFxbhbwZ2o9EGVlax0hnkTe/dtyQ70DTfIEL43JaJQULGs4MqypteC+AjiElJSw6Ms RjN6Py/vCSagqE475imJhbJKSG/d6QNzOkbFfaOckZW8sjEhG63LJd4XwPXVYkpcPWJ3 a8caKhF3pQVE066vmp+3rNSXhnaBMMlltatifvHDxmIQ/GSTSysR9xMIJAlH98V5hrNd BbcTDjtWte0IuQIrSjH4M8NwUj62MUjbhCHH/1+O8zqqVeVeZD1Y/ryhCRzRnyh0Q0Zm 3vbThIXpPE6M+muzj66rv6Lh0LO/IoHhtj2Mu3exA1/kYA2+IqXUeqaheERL3dV1oH8A ajzg== 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=1bIxzb8uYMaBqkZHeQOXeOcyzu8D3NRcmbkl7qLOrTY=; b=S1k4wD7QrpYd8nnGgp3PHcixvbmP/9fWFJx26DM/8uxT9011dBDObaiXwmj4BolKHD L4JPogScNfp9jCl5WmuWvH1qlzfQ+wqN8psyoIRJQyrGfaWay6vapCnNkU00OK2jIsiR OiFefQOSqGPOrwywQoAKJnY+HyK37EFCNsFAt4k/X2F+UBpMY0F20JWmoa6vSeNOPXgU 5VkcuC+puaRf3JVanBy9fYXLM2sP9HbGj+4jpdDH9x1JfF4Bz1vkrkGa9kX3DLE5WRqn 6yC4MuvQUynsfUzuzU2++Kk0Fan4kS+zNXU3afhHipE0ycGsGE8sG3YokjDFBZ9CX3Tp CThQ== 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 f2-20020a17090ab94200b0023747b030e7si18844834pjw.105.2023.05.05.08.04.06; Fri, 05 May 2023 08:04:45 -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 S232202AbjEEPCU (ORCPT + 99 others); Fri, 5 May 2023 11:02:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231967AbjEEPCT (ORCPT ); Fri, 5 May 2023 11:02:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8105717DDF; Fri, 5 May 2023 08:02:18 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id F03CD63E29; Fri, 5 May 2023 15:02:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12515C433D2; Fri, 5 May 2023 15:02:15 +0000 (UTC) Date: Fri, 5 May 2023 11:02:14 -0400 From: Steven Rostedt To: Joel Fernandes Cc: Mathieu Desnoyers , Andrew Morton , linux-kernel@vger.kernel.org, "Paul E. McKenney" , Frederic Weisbecker , Neeraj Upadhyay , Josh Triplett , Boqun Feng , Lai Jiangshan , Zqiang , rcu@vger.kernel.org Subject: Re: [RFC PATCH 3/4] rculist.h: Fix parentheses around macro pointer parameter use Message-ID: <20230505110214.697c495d@gandalf.local.home> In-Reply-To: References: <20230505100621.5d468f95@gandalf.local.home> X-Mailer: Claws Mail 3.17.8 (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=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Fri, 5 May 2023 10:35:39 -0400 Joel Fernandes wrote: > >> Yeah it is not clear why anyone would ever want to use it like this. > >> Why don't they just pass t1 to list_for_each_entry_rcu() ? I would > >> rather it break them and they re-think their code ;). > > > > Remember interfaces should not be enforcing policy unless it's key to the > > way the interface works. > > Oh yeah, 100% agree. I am not particularly against this particular patch > but I also dont see it as solving any problem. Feel free to Ack the patch > if you feel strongly about wanting it. I agree that this isn't solving any real bugs, but it is a legitimate cleanup. And as someone that tends to push interfaces to their limits, I would likely be the one that hits it ;-) Acked-by: Steven Rostedt (Google) -- Steve