Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5974934ybi; Wed, 12 Jun 2019 11:41:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1uGEkcC1dpK9/J7yIfZJ1Jis4hwOFzcyeGvAF3ctixfK2q12Ni77yjiss+5mzPqVA3R0x X-Received: by 2002:a17:902:8b88:: with SMTP id ay8mr17790239plb.139.1560364900410; Wed, 12 Jun 2019 11:41:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560364900; cv=none; d=google.com; s=arc-20160816; b=rjviXppqVUSRS5W2zJNg11ohdmJWET+uOEML/9A8WN7FXuOO9k2lYTyL+7X926Tsat tXGaCSClJ/+jTcTHQGDUV2dYs3EBGGa8cIryVm6/cIBESICXExIWxq+wttyCdnqVhXSk 1R1jtuLIE/WfA3p805eUdkvBsNw3SvQ1wCDh2E0hGWt9Y3EU1xeekCn8vOtQq3OcuDh0 NG589XuCbn++DBd1/+y+1OoFu77XenHGYJRERPX1lXZ4L1p0HTRNY8yT5rLmH3RZogAZ BGRTLF3vHhN37A3qmWWC7Hctrniq6sl1eAQba7sFTM8Y+ZmpWO+uQdvZiGis0gWeuIsf l5kA== 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=dCQqOPpqWVwaDWkxQCy6iZFbgeuz6xQDCAyl+AXZfDkwqaJltQn98lRLlDTVqqz/Q0 8TYUwPRx5HgFITeYIcH6VV4KTs+eBzX+aCMrUqGBXUluix8AmpmaaoK45pafZdQFEi/G GZBp7gt7JMVBaZmNoTW0lvcr5M0dS4H1XPOJd+XnuUv2pRh2A8FqxCoxRFL18oCfuFtY mizsSImtvYTiDEfsqAcCOYUBMkWP5NlL9NSsgjraKv14mmt1MiGM+3T2OC+WqUHvueZB j7Hv7B0MCG8n6NOw4QZgylFZ545eAM6tpfqkPXSgPyh3gJcbCFFlNX9Io+uVbOamWIoI ZeuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ksgkJeqE; 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 b40si399549plb.426.2019.06.12.11.41.26; Wed, 12 Jun 2019 11:41:40 -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=ksgkJeqE; 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 S1727462AbfFLSik (ORCPT + 99 others); Wed, 12 Jun 2019 14:38:40 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:45542 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726301AbfFLSii (ORCPT ); Wed, 12 Jun 2019 14:38:38 -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=ksgkJeqEDssKkqMqy3+CJnoTHR ZgYvdKq6oxobKGac6dNnGoIXsmSp+NVeinxxxWZJMGHj/HKfNE3tEO7V3iaheU9LCuXIaVXsPKypb j730Sf4i6rR2h4X2FDHlkC25Dbxnq2p6IsOkXeBkKwfiwuKblkxzJsIpmxtgsgnnjtdSMd7CO0U7l XP0+aOOW/Q48ypbOie6WDBuq+K7vbS3MiEirhBmN+qc5/LHr63O0kxcJTH9yjigTZ5VHzY0Ykxzem BDJ/UQie7Q6/VMSITSe02YtoogAKvdqchuODHNhl8RobOtXWwIURW059eJASbftOJRPaZ+cTa3/hN DnEI0ekQ==; Received: from 201.86.169.251.dynamic.adsl.gvt.net.br ([201.86.169.251] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hb88s-0006YI-Jb; Wed, 12 Jun 2019 18:38:38 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hb88q-0002BH-6u; Wed, 12 Jun 2019 15:38:36 -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 v1 16/31] docs: rbtree.txt: fix Sphinx build warnings Date: Wed, 12 Jun 2019 15:38:19 -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