Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1349785ybh; Mon, 13 Jul 2020 16:42:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwx8YlcTnKSW93BPvQ2fP3KdG2RzXC0lL6hp+qWE6rLTd6DOkSAClZjNFWxsStWY/OTPaqn X-Received: by 2002:a17:906:1d1b:: with SMTP id n27mr2076968ejh.272.1594683732396; Mon, 13 Jul 2020 16:42:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594683732; cv=none; d=google.com; s=arc-20160816; b=P0nznwWnmMFGQ9n7HSkAEaLI/Mne6k48j85YCW/Vv5zeqDNu4H+eqaRkYKG/MPk2Ex NdQzqTe/Offq1QzPC5rXPqk3c3UKysGeQOWO7kxoKUncYUpK4GbJTLFsRvW1UPKyb10E pAI2uMW0TvQB/dULEjZ+PCpbCXjxXYnDfbNqT8j4Mrlfzx/u/Fj5vHTgB2gvbUevCfDA hdJSbEQcycHgGr3xX6Kkrz+vHurbAEYQ9w5vcdTCndwGtFzkjIA6cuSD7c0kK7Rfo8eT NrCah1daFElOyf2egB0EPMl+xrezsdf4Hl58TcSNy+OkdwgJfKStlVsI1jmf1w8k9PkD N8GA== 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:message-id:subject:cc :to:date:from:dkim-signature; bh=fpsv8EDerh6qiZyDs3oAMWjUrkMyk3YGPRpChzbjH/Y=; b=trXk/3Syc+P10Mohe6H9I3lUD+lcIyOXhm0RL0S6zAftgEttkY+kqbJq5hbvYu18KN 8Dv4DEUdKqq4ur+RdEx5zl7iCEcMsv7lNq8Z+EqBP7cbARp618Ib32pk5M4R+F4GhxU4 n1DZ7pEv1058AzGmZ9iMXENjmcQZwMkATvzI1/oxGGggTrsd2qHrwVM1M3Y27Y/AGSna WdgFNr97D/JWo84cdfvYIclXx0+jzj6tmGbpC23+jy6iwZsgnCa60EapYMQx83ru1ea0 Sua6Sn6o+srZsuBwDQu9eQH7T1xucy1w4HnazwJLyg+D17YHKr/HJn9foEN336eUqIRI eW0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rpQg48ZP; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v24si9983291ejx.229.2020.07.13.16.41.50; Mon, 13 Jul 2020 16:42:12 -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=@gmail.com header.s=20161025 header.b=rpQg48ZP; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727044AbgGMXk0 (ORCPT + 99 others); Mon, 13 Jul 2020 19:40:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726962AbgGMXkZ (ORCPT ); Mon, 13 Jul 2020 19:40:25 -0400 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED4F4C061755; Mon, 13 Jul 2020 16:40:24 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id u5so6744838pfn.7; Mon, 13 Jul 2020 16:40:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=fpsv8EDerh6qiZyDs3oAMWjUrkMyk3YGPRpChzbjH/Y=; b=rpQg48ZPDV28n5UtMGQ/3OWyaUmfcwnkyJjCbMUIhC3HLfxLQcC7PwLnVoCTsp35By bpeANVwJ8mvLd8tM37SeLcFg2J7TQZtrURBKocWk6iud0xJrzlZ5qRtAmZk5eeumwL1X +v/ndjJ9dAGHI96Ht7SDzWqfITAZ4Md2Ac3ftwZ1uecL6HAT9RTFPOfH0CpdaX2rgCvT koQWmxoZ2L4ZvvCsCPXSQfLS9lRBueXqYSIWIF4iUc6Y3IS9fRSt8h2RimOBu27PGJd0 WvmUWAPImGksgD3n0vXcs6Hyf9GBXQgwxGu5jEQTP9sXHCFZo4/ylcxfxbUYLRo6wA80 4Yjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=fpsv8EDerh6qiZyDs3oAMWjUrkMyk3YGPRpChzbjH/Y=; b=iYy8dQDFgX+NUB0M3/OsztMRFEDlNEkvgXuYOl2eauSGwTjoH/aBdAAdJq0M5M9wrC 2IIFxmXQGHz450t+qwcCVAi18eIgXREv6KnkWD5FVQ3fMaSsMEfEWSVlEiR+KY0NtL7x tMRh5K0hwsMQBYhpO3lrdaelrQGe+on9MB/u9DbjqouRdIdyVdjpI8AkXWGAxOCdqbfz Ilfd6qNIF6zqnpM80rRsk11LH1dYRDewhBzEjRzzyVaYQJ36gVlzXWsyaf3kzQM1lzJ6 bA8l6S7nKLHURhFtYEfkzFuvH1V4T27xqVNoBO4k/1iOgR83Flq7I1iJc7QO5xXG28Qt fc9g== X-Gm-Message-State: AOAM5312fFPQ+ybj4q3lvqbSFmdU4JOnKBwLYrb++CqZZU+6xR3nKQyB oCaNgcFHoX9DzG2jmIONyAgrJYsMIA== X-Received: by 2002:a62:6305:: with SMTP id x5mr1962511pfb.81.1594683624308; Mon, 13 Jul 2020 16:40:24 -0700 (PDT) Received: from madhuparna-HP-Notebook ([2409:4071:200a:9520:4919:edd3:5dbd:ffec]) by smtp.gmail.com with ESMTPSA id nv9sm614823pjb.6.2020.07.13.16.40.21 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Jul 2020 16:40:23 -0700 (PDT) From: Madhuparna Bhowmik X-Google-Original-From: Madhuparna Bhowmik Date: Tue, 14 Jul 2020 05:10:18 +0530 To: "Paul E. McKenney" Cc: Madhuparna Bhowmik , joel@joelfernandes.org, rcu@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rculist: Fix _list_check_srcu() macro Message-ID: <20200713234017.GA23191@madhuparna-HP-Notebook> References: <20200713174846.8681-1-madhuparnabhowmik10@gmail.com> <20200713210244.GL9247@paulmck-ThinkPad-P72> <20200713211315.GA19516@madhuparna-HP-Notebook> <20200713212624.GM9247@paulmck-ThinkPad-P72> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200713212624.GM9247@paulmck-ThinkPad-P72> 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 02:26:24PM -0700, Paul E. McKenney wrote: > 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. ;-) > No, it was just a mistake. Thanks, Madhuparna > 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 > > > >