Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3241418ybd; Fri, 28 Jun 2019 05:22:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqy7v+0PBxyAJGGm5i7WSUWlt5xVwtwLkQbRgAFHqURMfGrixcmpTMD8Bh575a4Ng/18IrFy X-Received: by 2002:a17:90a:bb8a:: with SMTP id v10mr13068664pjr.78.1561724563919; Fri, 28 Jun 2019 05:22:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561724563; cv=none; d=google.com; s=arc-20160816; b=aYjYrOXoUiXLsBe90tMEv3T+LPb30+ckn/LSNRssyIL77ohsm0PxnvQt8qNIh9z+Ln AkfaYCzFR6jeHuomftr6xOAJBW70/8paRm6+LV3IzfPHNZxptWTKwKC6w1py6UgV9bp8 2QPWRRPJwgsf0Fno8aSXRbWxJU7V6Rs5fGW3Lv6uJGIPOzhobV4AKEHEgYCNz3aOHmBl 3T7eDCbLxYnSpgUGpDxvy4rdVpiJLE1Vfv+ee/AYdnXy3VbVPJiKf1gKWy+V41sOIV6z Fa8xu7/AovM5bWsj4BRyKw/vfI3WBa9CI6bUVAnBzb69SMonctBWSw1IbjIdOHQWCoJs j/yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8Y1nlnSVVHDrFk8myKIM30kznMDor9jOwj/L8T5CzXg=; b=fLfG5k05m1WeaLLNX0IszYKrb+hn+YIZCr8izhVGkUoV5ZdtGm+X/kG06gRJgTxItH 8ZmAlLwkR2159p5jLzrw6zy8/Q/eEsQt75f97NPMgM71gXPPimKAlng3Boe7btJiGYOD yxaxLkOJWDC8AuHb609sp4KPNjJe9faxcAKzlvLxfRK/DMRR3dolt/vIb2Zw6AA6wpRs 6iIvLntP89i/QwJyoJKliHY78pmIYI00fsWLiIVOvl8wSeJMa6//aJ1PmXaImSNyc0MZ 3uaOpfxDK/QKaziE6NSk8/nOsKzUucRyOf67JdhstJO4sPudDAQR3CQtyPBfMwkAbOaz x5RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=mQVt0huy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j74si2207281pje.12.2019.06.28.05.22.27; Fri, 28 Jun 2019 05:22:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=mQVt0huy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726708AbfF1MUu (ORCPT + 99 others); Fri, 28 Jun 2019 08:20:50 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:58754 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726773AbfF1MUp (ORCPT ); Fri, 28 Jun 2019 08:20:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8Y1nlnSVVHDrFk8myKIM30kznMDor9jOwj/L8T5CzXg=; b=mQVt0huyebE1lq65E7XNuD65+4 19eK/Gg9kMvNRQ+2JDZq2F9fsr9Hq4LDb1qIWY556XtlEdwsr8wEhMjJkur6sbGCUF8bZJ3crQ8KC 2ecZJU+SCz+dprKyTZOiEyJICWUksgM2CfDrJ0NyCJf+oFfr6Lmr/Xn7mNMEXv2wOWKmyBo41Zord HB1AAgMtfJKv2jvXMTfHw1DQEkcQuw0/57zghg0Nmgw4DOW2nDSjDW5pToBzEtAB5HFetv4kX4cRJ WZYzCQ9SyLAvs6AHWaTv+AcdXKyi7aivatMsnejWp/yMpFx+4idT/ftv3vc6gOIv8OUt2F6IY0Qsj jSt3tQ+g==; Received: from [186.213.242.156] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hgprv-0000A8-Fg; Fri, 28 Jun 2019 12:20:43 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hgprt-00058P-Iq; Fri, 28 Jun 2019 09:20:41 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: [PATCH 20/43] docs: rbtree.txt: fix Sphinx build warnings Date: Fri, 28 Jun 2019 09:20:16 -0300 Message-Id: X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ths file is already at ReST format. Yet, some recent changes made it to produce a few warnings when building it with Sphinx. Those are trivially fixed by marking some literal blocks. Fix them before adding it to the docs building system. Signed-off-by: Mauro Carvalho Chehab --- Documentation/rbtree.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/rbtree.txt b/Documentation/rbtree.txt index c42a21b99046..523d54b60087 100644 --- a/Documentation/rbtree.txt +++ b/Documentation/rbtree.txt @@ -204,21 +204,21 @@ potentially expensive tree iterations. This is done at negligible runtime overhead for maintanence; albeit larger memory footprint. Similar to the rb_root structure, cached rbtrees are initialized to be -empty via: +empty via:: struct rb_root_cached mytree = RB_ROOT_CACHED; Cached rbtree is simply a regular rb_root with an extra pointer to cache the leftmost node. This allows rb_root_cached to exist wherever rb_root does, which permits augmented trees to be supported as well as only a few extra -interfaces: +interfaces:: struct rb_node *rb_first_cached(struct rb_root_cached *tree); void rb_insert_color_cached(struct rb_node *, struct rb_root_cached *, bool); void rb_erase_cached(struct rb_node *node, struct rb_root_cached *); Both insert and erase calls have their respective counterpart of augmented -trees: +trees:: void rb_insert_augmented_cached(struct rb_node *node, struct rb_root_cached *, bool, struct rb_augment_callbacks *); -- 2.21.0