Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2484129yba; Mon, 22 Apr 2019 07:39:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzU+GU6mY0etsH+/U3JNqE97Jw/fmblKwO6oflQ3dLTPvUjFa23zCoVA3Bjid0wRh/X8sQJ X-Received: by 2002:a17:902:e610:: with SMTP id cm16mr18300518plb.189.1555943945236; Mon, 22 Apr 2019 07:39:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555943945; cv=none; d=google.com; s=arc-20160816; b=czt6QWYrhRbHWMFFE+8hOrIt9CkE4B/J9I2h3hTqU40g+L80C56gaIw4AK5plwzdAT viaAvTpyZ4DP03BmsO0GRAE06XlwYmHmSQmWdlwG2bDXQO/SbF3AolUxGD7jr2eQRHXE Bi0nBq1MhNaRGsW3fbzCbTlgOPBG0LlBYTOFwcZzxulhsX20WsmlSngzVyH7tJt5fcLy BUyekBEZuo7D9jxcMGyKVLLZ8ND5wnaYeGSHVzAOuzacd0upVBAdt42J+xH608djzAQW fMK652skc8aUHVXHh9USII6h2ibRtmMsosVtA7JbkQA4CRKeDOxCgw8PGXLpwoNwPIhz pamw== 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=5SPRGcFstl9ZbH1ke9MlgEPDpScelryQO42EthWbKNU=; b=ikJ71fk3MxehmH6HAENdcWuUn+8kWgVcksA9nOS9vNlgiDGPn+jjz3wk7uzuKAMMzc MIj4VGFDa4I1cRVNi+J07Rk3pL6VrEGNI7n/Ezx7P2UB4YsYChLzN8rB2BFZWTWhG5uW HeyU3y/mud3BN7fcwmC+B0kR0s/9OJdztG84kN88F2/w5mro4dh8OhDoZKNdnP5IjG+Y gRcCXF54jGddh10lkyQQoYUwRsP+h66AFcQgsX1pNNwCXlXvGe9iLlalKsrlDJsS7QfG zrsODSD1V2HfHFm4QHnG5GmIHUwIr8pMnKQYOvg17IxpdJ897hSV9W75IAnXFCoo4jgT rwSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ZVnpCqCn; 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 c17si13528548pls.23.2019.04.22.07.38.50; Mon, 22 Apr 2019 07:39:05 -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=ZVnpCqCn; 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 S1728059AbfDVNdN (ORCPT + 99 others); Mon, 22 Apr 2019 09:33:13 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:37708 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727359AbfDVN2U (ORCPT ); Mon, 22 Apr 2019 09:28:20 -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=5SPRGcFstl9ZbH1ke9MlgEPDpScelryQO42EthWbKNU=; b=ZVnpCqCn4CdhTA7WjnOQeijzf0 90zQVfwQEF0qgSedoX9r53DJssITXe5sNs5GJcvLEKN4NZdh5o0PUE1OMcM4AJZ0Y7biinxclwr4y CpdrNdImuRizLeF8mHMlFd1l4MJ+wWsCWmwd8Ts0MkNWxfdwsQ35/pLsj0U8xMi4SQ27y4GxGEpih hH1WuKjyPRTiVsnGfRmvZO7NaTl8j07lYxe3e7mFIQTeTJ3AcYOrWNsogZB+QLZhM88hhGGIxutGt aeIxwPMnibYMLTarrHkMmLXH0QBModVLdIU7yFSfNFgcaLC0nhZr3qUx1PE33/73NOj1OuYkQ6aBV wGPEIpIQ==; Received: from 179.176.125.229.dynamic.adsl.gvt.net.br ([179.176.125.229] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hIYzb-0005Hv-Ex; Mon, 22 Apr 2019 13:28:19 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hIYzT-0005nu-Ts; Mon, 22 Apr 2019 10:28:11 -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 v2 55/79] docs: rbtree.txt: fix Sphinx build warnings Date: Mon, 22 Apr 2019 10:27:44 -0300 Message-Id: <28c6092e56e70c27f0e3b79cbde4b808d9871b8f.1555938376.git.mchehab+samsung@kernel.org> X-Mailer: git-send-email 2.20.1 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.20.1