Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1159277ybh; Mon, 13 Jul 2020 10:49:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxU/rmGQibowuXtSewM+/Ee7RzDVMcJWSe2lRCt6zLk5FHfehJqQR15W6YtFfV2aYbEmjPr X-Received: by 2002:a05:6402:741:: with SMTP id p1mr548823edy.222.1594662570873; Mon, 13 Jul 2020 10:49:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594662570; cv=none; d=google.com; s=arc-20160816; b=GgZBgd9GVORZsgtPz3dtJfk1WyIwMeLx3eANPKs1ehoMRwsxysS4BzOSOiloE7Kcfv eDI+hV/Kpm6Dyos+ZismSIX+l4J3ewHsbpQ2WQyZF4SRRDX95anN0bnWXgV2WjlHEJol 04FDgeHITIRFvR0looJCUZnTMQ4jVGqtEjonFiMizs7fc0wTbgApzDQ3AgAbNZOMZLcq L3Naas7m8hDFk3LozvRospQtLLRTy3/AaYjg9TR/1pShr2gz9TYYE2LjQ/vRsvFuR5sd Z3jqV70TDWGDKNFhak//Cp7TtjDkiCWwxFMgEH0hBB8dIoQXFI/INa3LwlSxDRy6F3H4 iglQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=X/UxR11zWpZM3dbb73YevVQANqUAYVi8RjwQuOTkMCo=; b=AJwud3T6DD4Tc7MOo8tpRMUXetMI+Y/4eE1FAcOx+rj18ie5I1l02t1DeFXZp511sO p8Vhcuzh7MzQhc9/u5nypwXWYFl7rc10fVajPpegqxLu6RDvTDuYj3cUUwhyFxickwX1 apuIikcsLRKJ3Ve/fV4AC/3Z+1iHd48+fPnOn86YyO38gb6AXS/3y4J0/yROvCeOLCmC WIKoTWFT2O6UqtUSnPt6D3FCCCceBJZp8XSgaiWwtAQZKO0m6t8xdRsWFvnoA2gKrWxC ZP49PJ56XWBfcfZlFc0koGD2gQlBRMz5Yi0cf97KTyhLyAcDDImu/pWLEsZY0+sQEqz9 JD9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qt1TWq5Q; 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 k8si8851405ejc.257.2020.07.13.10.49.07; Mon, 13 Jul 2020 10:49:30 -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=qt1TWq5Q; 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 S1730182AbgGMRtB (ORCPT + 99 others); Mon, 13 Jul 2020 13:49:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729700AbgGMRtB (ORCPT ); Mon, 13 Jul 2020 13:49:01 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C050C061755; Mon, 13 Jul 2020 10:49:01 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id w2so6332304pgg.10; Mon, 13 Jul 2020 10:49:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=X/UxR11zWpZM3dbb73YevVQANqUAYVi8RjwQuOTkMCo=; b=qt1TWq5QiAZsW+kN/girNvQwxa3x0b4OAYSIpoeUCUafTZd4E5czr1zKjYGoCJFSub kjTJtt6rwWcQdZGl+rcusVj1KS387Fz5RnTthae1+U6pj4QrQwsBTriLvFsPyNOSGN2a ngUzt+ukykhkRKLN/Qv06eR8AlUbiq2qZlaUK7Kh74YiCqjihvyH7shr+F5FwfGsHgma b3FYbJXy07F+N/I2PQ01CQugQ/aXuchwgjwgkGJ0Rr8E7RbeAms+f7ubcsJI9Yb0a3n9 WvUQB0a1hFtmMKe+4YY+00KfsTuDl2E2CcRC4l5w2FtfxgBg4qXuvMRj1+38fCaHjzET yOtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=X/UxR11zWpZM3dbb73YevVQANqUAYVi8RjwQuOTkMCo=; b=b+tHvHRNT8rVdtCN0OX6BpDfeMZ07pON5fftLtusT11uOdwR0f8sm9ccNxMWYn0CvU 2fe5HZMBUqxfulOQmyyLFlUWH9zdzVUtYV1Xga4FhrWG2EeYEol2+pm5U9ZHUDYz5FBP 67mOId8sEmm1aCQSN0qcV2CC6e0jenOfMPrQgmoBAW81OLu39QXtswgg13/0mQ//vKCU DgAXIMxNrfTk4amFKoqc5KLqG0fKSnrOGQQqYBwRB1ikIhvF5n3jntluXUy6LuTjwrjb 0Kl/LPqFBbQtI4NDvgNzHreKlwpW/YNb6uSmkujba+zDFI6F0nVZ3LB0rB1lqr+5R450 4UFA== X-Gm-Message-State: AOAM5326OcyD/YzqOqHKy898QYWEROXfG9bpdOVXo0OUMOPle+4U2QXN L25vBxfWSC2kxqUgCUeq5A== X-Received: by 2002:a63:1119:: with SMTP id g25mr287078pgl.126.1594662540867; Mon, 13 Jul 2020 10:49:00 -0700 (PDT) Received: from localhost.localdomain ([2409:4071:200a:9520:4919:edd3:5dbd:ffec]) by smtp.gmail.com with ESMTPSA id e10sm230186pjw.22.2020.07.13.10.48.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 10:48:59 -0700 (PDT) From: madhuparnabhowmik10@gmail.com To: paulmck@kernel.org Cc: joel@joelfernandes.org, rcu@vger.kernel.org, linux-kernel@vger.kernel.org, Madhuparna Bhowmik Subject: [PATCH] rculist: Fix _list_check_srcu() macro Date: Mon, 13 Jul 2020 23:18:46 +0530 Message-Id: <20200713174846.8681-1-madhuparnabhowmik10@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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