Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1813697pxb; Mon, 18 Jan 2021 00:03:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJzIjoDArRL1yCO5fOwN73cCL8UeFnxKwfO5BewEYR0908DjmxzR6PyqGSS3seISTbQoeIcY X-Received: by 2002:a17:906:398c:: with SMTP id h12mr5381252eje.469.1610956987922; Mon, 18 Jan 2021 00:03:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610956987; cv=none; d=google.com; s=arc-20160816; b=p+wm6J02VifBsQqq1/R+/kjpAXc/+mOaWniPGbqAlJAOBwbaf40O0mo8HufR3/pVRW 7ayB0fYN53onZ/k1uJG3CO3cpfUS/tHkCyOXcU/r7GoJOB8xLsW/oVWUR836AvJWrz2U /I4gP097LaScavqzy72EvLYRJrNolLqi7j2kv0M97mCVoYoNmEPGamKxJnjWU0rSc+lz orZ2KtxX4dcoZB4lcYv6/YndaNneO2Elors0JCIV1Sy5YrlQumoy9Bpw4JaBxMKBvBhN qxUQ9YmZK+pWWWY8dTwZFrz89clK0JFqmtfxw9pIOn2OuX7jRGAKIf8n0SevyUQ45UoT +xgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=QrqziBluAm2S7jXEhlyaBX23uYOu5nIn+17iqFzqPgc=; b=pzFY/DHmlTm6mabpr3KfolLublN2eKY4JZIeNgw0K4q2apErAthp612cDevjBVtI73 OLm+Xk0/6XFu/6D2eJQ2KUCienTtgvUEdKZStWjdEcvJL3gywbxMIzZY9zzUvnv3lOdr aAWOsCREFRKFFseZo6BXsRNs9tVbQyqEhBfHd6UlmmleOCBQYCi/NTFqUgDurAEuD2IS LyDCDe1szolc0BaARc4Ez+AS0VMVCoxe/xWubM4txYkO09i4BuhmCdEb9WYFbCxmZxK0 C33SisggXcBuGpOuyqqanxrqiV9Bd7J9RbTatdX4BYILj4UcfUdfftyuE0Mbx/JTFyux 0pEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PoKTj57a; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u21si6793335ejo.496.2021.01.18.00.02.44; Mon, 18 Jan 2021 00:03:07 -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=@gmail.com header.s=20161025 header.b=PoKTj57a; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733310AbhARIBS (ORCPT + 99 others); Mon, 18 Jan 2021 03:01:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733306AbhARIAy (ORCPT ); Mon, 18 Jan 2021 03:00:54 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA944C061573; Mon, 18 Jan 2021 00:00:13 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id 6so8170194wri.3; Mon, 18 Jan 2021 00:00:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=QrqziBluAm2S7jXEhlyaBX23uYOu5nIn+17iqFzqPgc=; b=PoKTj57akzrAzBOa8fvLRnZicOvuIP3BcIDUm6snh/3aqOytbhsto0hj+3DpxwZuWd demfto64a5AT8fDUlK0KIIUq6VDCKBryqDLDW/I45kUexbFy+eyH7Dob5BrcgQAaPuA8 avdA0wzGnqgHFIJhdnaqQlGGf6NJ8SEsjTjLOIjg3mYfFK0N2sKxOuNyM/RBkFW1vIt0 niCgRTGRFSSlcSFARrgjI8cWKlGHlVZc3IuXAh6+vTp5jbruNdbTiRF0NxPK/zTER3cq o0WrL30jI+l+1kWLRSmsE5Zf4IbVAalV7oW+GAHSONCPNu4LpL57WHJioU6Z22TimKmE ayOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=QrqziBluAm2S7jXEhlyaBX23uYOu5nIn+17iqFzqPgc=; b=VoaRpxXEvhVZaOhedZghmx+Q8PcfoET/cBnNqZeWFa6ZxcUKHBdj2RNmycyO1Gd6nz YWzb0K9jtYQBSeyS3V9rCgpaePBGRw+TernZKBUVVDtfk8wnd3vaqmLJMAqUQDQNOc8k ccs9TF6GKcN8mWi12KkrfaU3kou8RZjyQlu9hk2f2cb3hVM+Cbs0zNqBI8+gExSpBRfT DgM51qyUfrqIOWADvVC8VTtF5/CiW3hpV+8j5pp9kX4y650wvFawYeU5L8MhGsGYlL3K DzO8pgb2bK+G15asBwb233bMPlMwgdbpLmdtRlIJyYSrv+K0qr8k0FO90teDzunUqPnR Q52g== X-Gm-Message-State: AOAM533I8/tWyt9bDIONao0jxyhn+s1n9ZvY4LNFo6PeP+pVKs63+MZa 2BZUQJlUnlk/zqgbton4av8= X-Received: by 2002:adf:b359:: with SMTP id k25mr25033448wrd.98.1610956812441; Mon, 18 Jan 2021 00:00:12 -0800 (PST) Received: from felia.fritz.box ([2001:16b8:2d3e:6800:ad77:727f:e0e1:17c4]) by smtp.gmail.com with ESMTPSA id i11sm23187419wmq.10.2021.01.18.00.00.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jan 2021 00:00:11 -0800 (PST) From: Lukas Bulwahn To: Brendan Jackman , Alexei Starovoitov , bpf@vger.kernel.org Cc: Daniel Borkmann , Andrii Nakryiko , =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , netdev@vger.kernel.org, Mauro Carvalho Chehab , linux-doc@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn Subject: [PATCH for bpf-next] docs: bpf: add minimal markup to address doc warning Date: Mon, 18 Jan 2021 09:00:04 +0100 Message-Id: <20210118080004.6367-1-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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