Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1269678ybh; Mon, 13 Jul 2020 14:03:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoaqkSWJlYTaG5LfwgdFvHANNUbsTWQydwNPIlj2HW1oTEYVYtfinUcnDbkHhAxnVZs42t X-Received: by 2002:a17:907:2633:: with SMTP id aq19mr1512975ejc.127.1594674197858; Mon, 13 Jul 2020 14:03:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594674197; cv=none; d=google.com; s=arc-20160816; b=CMtnWqUXmi3aKBLT3jKASHMdy/5waxJ3RKwgk4+vXED5Ykm5XrSFEx2zswjr9ks0nY R/V4snD3iV/IWV57mR9gsYhLZfTepqpMT3OCcExjTEmmg+MIJEKftMIKz+yGbHrpMTqR gQP8IjBx1xo5mqFy11Nqzr9rcRRxz5V/VsxH4TIs53EVs3kVBP+kgdbRGEtJhRtRaieo BtboW6rRQiUE+G2SvhXTlVfndag/3GeAYXf9QnveNX63Uirmq/RRy6dwsuDJVIKXB+6X 3LIyan1aAbwHuKTAIVufa4G86Xdy9pXQ+aY7Kol61/Ucz2oWpWeilwdBqm9bayXsJF2T OZZQ== 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=AmbuOhoEkIklp2/4x0nipgg9lyoIp4fkDJ8/LP4Lp1I=; b=bglYVvA4mbIzbG5RkWZp1ctQpn8i4hivHO/9kvGZYLU9XMiRDuMpo9zsqK5lsZxn8t 8TGbV/lQoJt+tdQj/rijVNVG4yk1uW8NCQjvvevGzo1lrcRI7FqSWNr/SA1JHITn3Gv+ N0zucVFTiTaKN9K9VKNtAHs1Eh7h17TtnBP6//BxvziEYeis2m/L7qBF7nA1SmTqJCTv sBvC0lLi5dCWxiOmIRBZqWmbfHZrykyhNiNaTOEclCBMNSlK65PKVPn8wmagIpQ5uGSZ nI0+bAhxAA187FuNgIX9/oFj/+B/hl0wh4gQGTQHI0P1103vSzT1E3RGdzu+W3hOCC29 D2WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TflN22Vf; 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 la26si9088274ejb.587.2020.07.13.14.02.54; Mon, 13 Jul 2020 14:03:17 -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=TflN22Vf; 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 S1726461AbgGMVCp (ORCPT + 99 others); Mon, 13 Jul 2020 17:02:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:49772 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726291AbgGMVCp (ORCPT ); Mon, 13 Jul 2020 17:02:45 -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 E98B220849; Mon, 13 Jul 2020 21:02:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594674164; bh=lgVYfTw+dPyNsK/MI5mOujzHg3a6HP/c0Gro5WJjAi4=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=TflN22Vf15Ct7D1f+Zv5BusoL4CRVO61hhBD8cUYOiJJgeCN0vAlgkhdpXNKW7Lgl eyDor2VA4CsJ8JTl5DbYdhbw5DkeHGYQS/hcgFGwe6TSySCK0WYrB3krwr+3cVjKXU JuXHd8A43dTcnFC3/t0x67MisXWRnbdji0D0olXQ= Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id D622335226AF; Mon, 13 Jul 2020 14:02:44 -0700 (PDT) Date: Mon, 13 Jul 2020 14:02:44 -0700 From: "Paul E. McKenney" To: madhuparnabhowmik10@gmail.com Cc: joel@joelfernandes.org, rcu@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rculist: Fix _list_check_srcu() macro Message-ID: <20200713210244.GL9247@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <20200713174846.8681-1-madhuparnabhowmik10@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200713174846.8681-1-madhuparnabhowmik10@gmail.com> 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 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". 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 >