Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6796535rdb; Fri, 15 Dec 2023 08:31:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IH3Vz7idFyR9K2Gzb5QOae9zTqF6O1nB6t/09/d8iqUN1I4g+KFWErK6pyBowQi+87U8vXu X-Received: by 2002:a17:902:820f:b0:1d0:c20b:a0a with SMTP id x15-20020a170902820f00b001d0c20b0a0amr5443226pln.61.1702657906466; Fri, 15 Dec 2023 08:31:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702657906; cv=none; d=google.com; s=arc-20160816; b=06JmtsVkCOHcmzDkVlwwGgjj736tFrybFkmycUBC1q98wp9LGWB9TUdATfdyk1VJ/B W+/SSGcqO39mT7qm2fv6CO1GdCIT4gecwugied5/VzNri3ZtYTvTwDXpYRQ7VZLCTg5l ZsBudsXyDDddxHDkSXPnvIrVvUn6RlwxvKcdkpeFUst062g9rkeKZ1+QzQr1cnUfYLPV mHU9/OOPajmeS/XbHPt61SF5vNwRZsoDmeoCkSFZ0Kfe7Ma8+ro3OnxHqv67iIEFa+xr fGJab3WPT1G6AX/PCUT4F0WpsQQ6mvyQPOscALTACxWqYabRN6/0bvUFKaSO3I0TSyc6 OHUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature:dkim-filter; bh=MOGN08AAxPtXYlfatBeq3Ua29jRUGnUBoCfFPOWMpcY=; fh=QzFkm+rajq18YrR9X9j1JDamGDJ7UaZj/YTIS3iwa2E=; b=fmeqcr9HyfP2LFeWiEEFociQBPJExyIhXk9pdCMoRyxynLzerAKt/1Lp6AOr2XF2z3 2u2sHBmJ35vHqkGsV2sFJ+cjnBnSVqG+zkZ6g/qtf6voSpguKOIWJHiNmXma5Lrld9WZ hLE8RSpovolA7gl+i+/K3Vq0nTxsHDoTc2dSiW0lMllFrnXd+/rHdw1d9wsEDRES+xEr iPRcHlBvojepu+uNss2eniLhd36B+clhOsQFJ2FjJ9Td2RShQrISEDDqM299VMUOoPg3 H1twQ+evr4+6DUJWXl+HkBlhXeenBVH22dRsuV8L2kXg2nX74bUJtyIfoiT6N3/sSg/D 7mpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=QYQMTncq; spf=pass (google.com: domain of linux-kernel+bounces-1299-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1299-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id h3-20020a170902f54300b001cfa22e6bd7si6569231plf.179.2023.12.15.08.31.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 08:31:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1299-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=QYQMTncq; spf=pass (google.com: domain of linux-kernel+bounces-1299-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1299-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 809D9B22C3E for ; Fri, 15 Dec 2023 16:31:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4BA5F3C49A; Fri, 15 Dec 2023 16:31:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b="QYQMTncq" X-Original-To: linux-kernel@vger.kernel.org Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8427D3DBB1; Fri, 15 Dec 2023 16:31:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lwn.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lwn.net Received: from localhost (unknown [IPv6:2601:280:5e00:7e19::646]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 9AF472ED; Fri, 15 Dec 2023 16:31:30 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 9AF472ED DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1702657890; bh=MOGN08AAxPtXYlfatBeq3Ua29jRUGnUBoCfFPOWMpcY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=QYQMTncqCC3ycU6OLwKc3wuqaApQ8kGpraPH5WeaEOF1SetEFXQ/6nZC/98pG3fw7 VE1081/ZC9OpaF3/30rSbzEzfiFWEOHAzRJWTzuwUPTtphLRuWES9oEmdfJcD6/pXJ C4iupHPPb7l7Ras9/MpWwgzWjxe5SS4SX7Ls0/9s5jwzj6QZppvwNSKTcnV/xxDzZo UWM9Kq2+D2p+bC7UQ3jtRFDbmvrZ86n4UowPERSAYg9us7+PkIifx3TNH4olaixOI4 Gw0WcGizXegAntOEP8s1H2+zIMCXbrzAgQeQoG30CmoWkMpSjnMJXZHwrdkjvgs8bm vSq29HvLP9kzA== From: Jonathan Corbet To: Kees Cook Cc: Kees Cook , kernel test robot , "Gustavo A. R. Silva" , linux-doc@vger.kernel.org, linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] docs: conf.py: Ignore __counted_by attribute In-Reply-To: <20231215001347.work.151-kees@kernel.org> References: <20231215001347.work.151-kees@kernel.org> Date: Fri, 15 Dec 2023 09:31:29 -0700 Message-ID: <87wmtfpgv2.fsf@meer.lwn.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Kees Cook writes: > It seems that Sphinx is confused by the __counted_by attribute on struct > members. Add it to the list of known attributes. > > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-kbuild-all/202312150614.kOx8xUkr-lkp@intel.com/ > Cc: Jonathan Corbet > Cc: "Gustavo A. R. Silva" > Cc: linux-doc@vger.kernel.org > Cc: linux-hardening@vger.kernel.org > Signed-off-by: Kees Cook > --- > Documentation/conf.py | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/conf.py b/Documentation/conf.py > index d4fdf6a3875a..5898c74b96fb 100644 > --- a/Documentation/conf.py > +++ b/Documentation/conf.py > @@ -106,6 +106,7 @@ if major >= 3: > "__weak", > "noinline", > "__fix_address", > + "__counted_by", Applied, thanks. jon