Received: by 10.192.165.148 with SMTP id m20csp2872429imm; Mon, 7 May 2018 02:36:52 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoDJ+a3bQTPxibngGIiTXUtMqbbVnjftGO/0K47CtJegsZyUEtCKZwNjffEyDC2+JP4TONu X-Received: by 2002:a17:902:da4:: with SMTP id 33-v6mr37311228plv.52.1525685811951; Mon, 07 May 2018 02:36:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525685811; cv=none; d=google.com; s=arc-20160816; b=tFEKBYoL6Rv0sgGh85wI3tM9cHiByGTt4vrCjWldQYApPl/U1fNq7MKGd/RATkbuzH Yiu1kxTYtgqLjhWEcXW8tHiD39E//LoEXkRC1dpuSCBfUkWWBf3D5dNYXTkOIkhPIpUU ub7pRYbBitmlbNt7P64NiP+6edX2KZHkrghpdpaQHA+z1eFUFx/ER64Dy/c5+1aVJtY5 l42tSnEMwK2dN9n3E9j28Tff6xuJImwuLSz9C0wl63ynyzIQ/H00lMjWwQV104yP/XGR NcC4l+6+T7hfJdlnAkMPJnHHUrGJ3YyD71BDKYvRCjte+OcYl8365+wV8Rf7ij6BA/2j 9fOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ZeS5GSnq7xZB7nHcRpcusWiaRz4r49PyWaaXp7PIgrA=; b=IRAnZLiHnSyBOftZzPFG9g7tjpdNchsbZVw4Hv11NCmQLQ/+jLf5QKpPadYxsoltIp I0GW/gAssrT70vMqJhW2fGStELkX9V2/CPiQq0nUF7RzxnVhlwTVmO6J6HkRwwiGje5m f8Bbj9nXpDgZA4qoN/xXwznHT6Zdm77osG0hxP4JUGBGWOzg21Otoh4A96jvZv1JJRX2 5OkPxIXZt+ee37jBdzgFjjHBEXNinxydavcWjBIYa4yo5BxJovVNcJz5x0XJlye8Q0qX ulk2F2S8lIvAdpENg1wdHFQYTsT0vnecZc88GJd7sSW1Ac9mL06Rck7F2qRKXsn44u8r SBWA== ARC-Authentication-Results: i=1; mx.google.com; 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 h90-v6si21025449plb.377.2018.05.07.02.36.37; Mon, 07 May 2018 02:36:51 -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; 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 S1752476AbeEGJgH (ORCPT + 99 others); Mon, 7 May 2018 05:36:07 -0400 Received: from osg.samsung.com ([64.30.133.232]:46532 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752088AbeEGJgC (ORCPT ); Mon, 7 May 2018 05:36:02 -0400 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id 43EB5233FC; Mon, 7 May 2018 02:36:02 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at dev.s-opensource.com X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from osg.samsung.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sF-vfeQJVgJ4; Mon, 7 May 2018 02:36:01 -0700 (PDT) Received: from smtp.s-opensource.com (177.41.109.86.dynamic.adsl.gvt.net.br [177.41.109.86]) by osg.samsung.com (Postfix) with ESMTPSA id 284D6233D9; Mon, 7 May 2018 02:36:01 -0700 (PDT) Received: from mchehab by smtp.s-opensource.com with local (Exim 4.90_1) (envelope-from ) id 1fFcYo-00087k-VZ; Mon, 07 May 2018 06:35:58 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , "Paul E. McKenney" , Josh Triplett , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan Subject: [PATCH 10/18] rcu: rcupdate.h: get rid of Sphinx warnings at rcu_pointer_handoff() Date: Mon, 7 May 2018 06:35:46 -0300 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The code example at rcupdate.h currently produce lots of warnings: ./include/linux/rcupdate.h:572: WARNING: Unexpected indentation. ./include/linux/rcupdate.h:576: WARNING: Unexpected indentation. ./include/linux/rcupdate.h:580: WARNING: Block quote ends without a blank line; unexpected unindent. ./include/linux/rcupdate.h:582: WARNING: Block quote ends without a blank line; unexpected unindent. ./include/linux/rcupdate.h:582: WARNING: Inline literal start-string without end-string. Change it to a code-block. Signed-off-by: Mauro Carvalho Chehab --- include/linux/rcupdate.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 36360d07f25b..c890d10978fa 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h @@ -568,8 +568,8 @@ static inline void rcu_preempt_sleep_check(void) { } * This is simply an identity function, but it documents where a pointer * is handed off from RCU to some other synchronization mechanism, for * example, reference counting or locking. In C11, it would map to - * kill_dependency(). It could be used as follows: - * `` + * kill_dependency(). It could be used as follows:: + * * rcu_read_lock(); * p = rcu_dereference(gp); * long_lived = is_long_lived(p); @@ -580,7 +580,6 @@ static inline void rcu_preempt_sleep_check(void) { } * p = rcu_pointer_handoff(p); * } * rcu_read_unlock(); - *`` */ #define rcu_pointer_handoff(p) (p) -- 2.17.0