Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1281957ybh; Mon, 13 Jul 2020 14:26:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzr/J2wQC7adAGbicsApgmUCc2Odtn0JaZWWgDO42KYMWaUzlngd2WRO3t+Vnvv2048FlPa X-Received: by 2002:aa7:c398:: with SMTP id k24mr1293874edq.95.1594675618521; Mon, 13 Jul 2020 14:26:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594675618; cv=none; d=google.com; s=arc-20160816; b=Dyb3uWehFy89XTAB6Qr3Vm1evLeQhht4U0cU4VkD8i0fOOULxERJ1zGgz7KR4i5uLz NHCZcVzYwFmpkXYQZ+cZyDZQpGUHdKB2l7lN7eE8UB7w8d3+WZOpa6faRU6EKjoOvP5y T1LBmJGvZ/jt1jmOKr1AkDEBAvooLHiNiZxWf/Kg/eV7JSJhb+TKu6fDGe9OBEIjijiz 10+39gNc8Chzf3Rq++KJEI/XYWXrPGuPnbH6dNwQOtMj5ops4wAdOCF6gmKnXHfYBGse XeYivRkiJ4CL+jP3JkmklJlma4FiplnraSSQHCkFoEBn8c9Wuccz6g94VVqczTLpu+ni uFow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=UqfN1Qv++uQPWTNn65ItBdkSvseb1d//4u+MlqLqxP4=; b=JjA2CBjEEXvSwDT3mZ4xSXDfo0r04czihkZvF92aIN5eUwcAuYAJkgJ5I15cCGKDS9 Dfhgvrn+ncZ+MYlO+E7c1aSIuFACiizNyqriyBRJTq0pNTDqTZLmoi0QwGcE8towAMKU kZSue0o9jLrwbG1LQu55Mn1UH9JJeTNGGDO3Io76YE2n14LyCfbL1ijGHNumkgpuzba2 VZhv2t35JxKMNz45IK2/6hDXL33ceYSh3TxAUH5jLz4ky2AsQTfMTYmV5+ZG6LQFTwX4 5xbqZrOJqcTY4ut0vahbzqoHCtAIncI8ZGKs5U4igL3fotMRYwlCvRrF17UoMEKOTscc GmsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pwBuZmEk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v18si10052003edy.249.2020.07.13.14.26.35; Mon, 13 Jul 2020 14:26:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pwBuZmEk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726609AbgGMV0Z (ORCPT + 99 others); Mon, 13 Jul 2020 17:26:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:56230 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726416AbgGMV0Z (ORCPT ); Mon, 13 Jul 2020 17:26:25 -0400 Received: from paulmck-ThinkPad-P72.home (50-39-111-31.bvtn.or.frontiernet.net [50.39.111.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D465B2075D; Mon, 13 Jul 2020 21:26:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594675584; bh=4tUNGMCF5cW3WvYy5Oyj4NnCSXP7PdlHE63oRtm9reA=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=pwBuZmEkWd1xrIcMGIDTl6jVxbApAv1id8vru1Df38dQdn24oGMwpVKoZVTcqQ49l 1aDlQegYbMr+7XEjVfkgYxhrzBRosDXvGNoy/vqpqFQpbvyubwjx3+6ETBj5n/Vqw8 rSI0e46aiguQXPNYJiday+ZKlQNj/KE6ydiyoSqw= Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id B5DB835226AF; Mon, 13 Jul 2020 14:26:24 -0700 (PDT) Date: Mon, 13 Jul 2020 14:26:24 -0700 From: "Paul E. McKenney" To: Madhuparna Bhowmik Cc: joel@joelfernandes.org, rcu@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rculist: Fix _list_check_srcu() macro Message-ID: <20200713212624.GM9247@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <20200713174846.8681-1-madhuparnabhowmik10@gmail.com> <20200713210244.GL9247@paulmck-ThinkPad-P72> <20200713211315.GA19516@madhuparna-HP-Notebook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200713211315.GA19516@madhuparna-HP-Notebook> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 14, 2020 at 02:43:16AM +0530, Madhuparna Bhowmik wrote: > On Mon, Jul 13, 2020 at 02:02:44PM -0700, Paul E. McKenney wrote: > > On Mon, Jul 13, 2020 at 11:18:46PM +0530, madhuparnabhowmik10@gmail.com wrote: > > > From: Madhuparna Bhowmik > > > > > > This patch fixes the macro _list_check_srcu() for CONFIG_PROVE_RCU_LIST = > > > False. > > > > > > Reported-by: kernel test robot > > > Signed-off-by: Madhuparna Bhowmik > > > > Thank you, Madhuparna! I am folding this into your original, but > > with lowercase "true". > > > I am really sorry and thanks for applying this with the correction. No worries! Just thought that I should mention it in case there was some subtle reason why TRUE was needed in this case. ;-) Thanx, Paul > > > --- > > > include/linux/rculist.h | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/include/linux/rculist.h b/include/linux/rculist.h > > > index 516b4feb2682..a435ad62b90b 100644 > > > --- a/include/linux/rculist.h > > > +++ b/include/linux/rculist.h > > > @@ -73,7 +73,7 @@ static inline void INIT_LIST_HEAD_RCU(struct list_head *list) > > > #define __list_check_rcu(dummy, cond, extra...) \ > > > ({ check_arg_count_one(extra); }) > > > > > > -#define __list_check_srcu(cond) > > > +#define __list_check_srcu(cond) TRUE > > > #endif > > > > > > /* > > > -- > > > 2.17.1 > > >