Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1909894pxb; Mon, 18 Jan 2021 03:16:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJx1gvEQtVK/J0hHhT/eBxG+BmUi/sMUZaNM6nnuPnvaOfD7l6x3ZopMT3Rk1L//ZfH8rkkd X-Received: by 2002:a17:906:d8c3:: with SMTP id re3mr3066459ejb.80.1610968564357; Mon, 18 Jan 2021 03:16:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610968564; cv=none; d=google.com; s=arc-20160816; b=unGdhpl2Ld0+h3BXOGXxB3vs0BkP2LnT076E9T8zIzySDl8UA0u/51SxWceSW51Vfd mezifx6uFrBWfr4He6QYtLblWWMpqomxFu9nnE1reHoIgG5oIHo599Iz76u6T6uSOWpp KEVhzJLf9U656TykX3NjBDJJVY+yzlk94U2g4Jtp14EeU+Vc2BNBIvyhNTdj4TWUs7Mm LZYf9MqX6GWnWy4r+sbIsw9Dx/PAXHGnuCVlueYRD/Q5AbQVeDEe60ghrnbdvKIu3/Ho A9BZ1mGPnIoAshQwr29WelGjmNyqaCDi77k0tfjIZp/VSTNRHxas5qs7dHk91fYDNuSt 0vNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=SlpVFG70d1haAhgfDosF+AGq4k9Rce7hROvWA+Bpu+o=; b=DzKkgkANeS1EuOJCIrdngFny5UpIn2fe3e4/3OpmcREAJC3J7vkI3x0AXPTquQ8uM6 oc3pw/W5IQrpqWl1U2LdZ8J7fCX+trzUbA8HU4TOWEKFWS1Ov7yve6xfAaFxXOqlC/UF gRERd0qZzXYrBUaJbTVw6GJmq2O9tWqzKdW9bvtTuX1Ig92IjS0rx5Doni5kGgDMMa2S t+u74OKwRRGprBEx9+FRwmAKwsClE80498UrkY8fJpJzyevv5DIPr/FxYhgFfnQBk4qF IncSaMFiQVN1BtoRzEcQdZLhKH412iRFE1N6xGjqvzx5FgOUsqsVtBxuRXZj5UAWN6GD 8XNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=hyntPPIM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h6si3690275ejq.244.2021.01.18.03.15.40; Mon, 18 Jan 2021 03:16:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=hyntPPIM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389296AbhARLNC (ORCPT + 99 others); Mon, 18 Jan 2021 06:13:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389045AbhARKrZ (ORCPT ); Mon, 18 Jan 2021 05:47:25 -0500 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 829BDC0613D6 for ; Mon, 18 Jan 2021 02:46:42 -0800 (PST) Received: by mail-io1-xd2b.google.com with SMTP id d13so28660536ioy.4 for ; Mon, 18 Jan 2021 02:46:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SlpVFG70d1haAhgfDosF+AGq4k9Rce7hROvWA+Bpu+o=; b=hyntPPIMGuqz6MhhQHoy89/WERg7VMJS9GpxnFwqrnQqmJSjwI/FL1NoEs7p6RdLa8 /zAfa8lcN+DOqWaG0yXTNsYiFQQPoklAIcsBi1N0/WxUEWsmZilPPhPcdY8OfHWCbaV0 CmVDttL80BxG1idnxWXuNA29VzJIGbhWehA6z05p3BXSpN+t/tj444WlB1DCzvKRj315 2MM3cTivgnFW/Dyk5wW8Y3JY95QWtzMwpxxbTJ+pyLL3HrANPMc51u6XsJWw6R1C5BT/ nRagJvkqkqrZWTQdMkFvbwusT88ggx8TW7jZ7wdLa5Q/Zu9VgCva94eHT7YnSD2RFOJr WkOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SlpVFG70d1haAhgfDosF+AGq4k9Rce7hROvWA+Bpu+o=; b=bIz6haqvxxCwXlmuiSDk2CDpsax1WwhddFuQvy5XUGed2PPqlflLBkv0ChLNurny3D 8lWO0P4dxzFfnmJSEUTA66nJTTgYjYJPLu3Cbfnks5kMBv5vXJd+I6b8Ep+7IsyINFcz UExQBR7Gy2P+yCNiyHTbPhL36dfgJzqeHH0/Zd0bQKxH+SGYppuuZLs2ba55JTZQiu0k 1vbOLOzumHvV5PsJOjeBrXsrfXrYop5bt0uRS3v+e7llmwV9G1ZdZw+xTeZ+0N662SFG ErWrQk4G8BdT2v3/sOIO/OYCpapAJz2pYXGczXReJeHNOTDYiz5JsKK/HSIU3/qzaWOE RqZw== X-Gm-Message-State: AOAM531LVONPs2ZEggaLyq2ol5Al8sy9bOWUE3JVabyl4QdrNkTPqePz AXRgWNRl9Xov2bEViTHWpxSDDd/6ah5DHxomh6o03Q== X-Received: by 2002:a05:6e02:194a:: with SMTP id x10mr20340034ilu.165.1610966801671; Mon, 18 Jan 2021 02:46:41 -0800 (PST) MIME-Version: 1.0 References: <20210118080004.6367-1-lukas.bulwahn@gmail.com> In-Reply-To: <20210118080004.6367-1-lukas.bulwahn@gmail.com> From: Brendan Jackman Date: Mon, 18 Jan 2021 11:46:30 +0100 Message-ID: Subject: Re: [PATCH for bpf-next] docs: bpf: add minimal markup to address doc warning To: Lukas Bulwahn Cc: Alexei Starovoitov , bpf , Daniel Borkmann , Andrii Nakryiko , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , netdev@vger.kernel.org, Mauro Carvalho Chehab , linux-doc@vger.kernel.org, kernel-janitors@vger.kernel.org, LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks Lukas. Sorry I didn't get around to fixing it so far. On Mon, 18 Jan 2021 at 09:00, Lukas Bulwahn wrote: > > Commit 91c960b00566 ("bpf: Rename BPF_XADD and prepare to encode other > atomics in .imm") modified the BPF documentation, but missed some ReST > markup. > > Hence, make htmldocs warns on Documentation/networking/filter.rst:1053: > > WARNING: Inline emphasis start-string without end-string. > > Add some minimal markup to address this warning. > > Signed-off-by: Lukas Bulwahn Acked-By: Brendan Jackman > > --- > applies cleanly on next-20210118 > > Brendan, please ack. > > Alexei, please pick this minor cleanup patch on your bpf-next. > > Documentation/networking/filter.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/networking/filter.rst b/Documentation/networking/filter.rst > index f6d8f90e9a56..45f6fde1776c 100644 > --- a/Documentation/networking/filter.rst > +++ b/Documentation/networking/filter.rst > @@ -1048,12 +1048,12 @@ Unlike classic BPF instruction set, eBPF has generic load/store operations:: > Where size is one of: BPF_B or BPF_H or BPF_W or BPF_DW. > > It also includes atomic operations, which use the immediate field for extra > -encoding. > +encoding:: > > .imm = BPF_ADD, .code = BPF_ATOMIC | BPF_W | BPF_STX: lock xadd *(u32 *)(dst_reg + off16) += src_reg > .imm = BPF_ADD, .code = BPF_ATOMIC | BPF_DW | BPF_STX: lock xadd *(u64 *)(dst_reg + off16) += src_reg > > -The basic atomic operations supported are: > +The basic atomic operations supported are:: > > BPF_ADD > BPF_AND > -- > 2.17.1 >