Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D47CC64ED6 for ; Wed, 15 Feb 2023 16:46:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229615AbjBOQqb (ORCPT ); Wed, 15 Feb 2023 11:46:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229734AbjBOQq2 (ORCPT ); Wed, 15 Feb 2023 11:46:28 -0500 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3118A265B3; Wed, 15 Feb 2023 08:46:23 -0800 (PST) Received: by mail-ed1-x533.google.com with SMTP id n20so8174602edy.0; Wed, 15 Feb 2023 08:46:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zTPd/G13h67SQvxJF7Fd8d1Wb8TMYU9q6slWVQsYcbQ=; b=gfSDlMgqaEAUQcsHE7zFBvDmeTcjYBDG8IIdD/p+6IPMpmOfAcQZzUrVB6VmIWzvPX U1t/iUbb9ZWO411InumPfkqVPXbF0RjRlnbNL7NY3f+occ+/k7QMwwuy87Sc1rIahD4E LjbvVuEtX6Vgq2ZCejmIpZWR15NNOPS28wnBRQwXAMxXq0WDDzm7pI4o2gCJO5PtRaTe DRA01ANEJysOHm6anUz+q47OwGlRoRnDghcKNELp0dmTgtnx5OAs7gGSH7cxtYJ7HWxJ LMZL6ntMipz2nLBDRPOyn1sxlupCXKYq6JcSfT8RlMcITstq6Hb/WB/OIJBkkJuE4wEr DufQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zTPd/G13h67SQvxJF7Fd8d1Wb8TMYU9q6slWVQsYcbQ=; b=Y7Y1CqEtxsb+4JmKzwDwdzcvrYBOnrt8v/XAMimh6clOgA8BcXzluKc/gi/FfYAGBd fGHLbjMC8U/VF3zAhfHlEYK0bYFu7594LB6zNF8fSGaV+Hz6GDJJWTkeLk5sbr3TyEDP JRM5HPQwdvrLTV5PYtcYA0dCN/9cKBAzHbbSURUD8nRuqdbxhAM8Cw7jnI8MdYw6bKzE eArtAqMbQFOkjVhnWYg444jRUc5CpN9QqfHt3r4Nzmjdi+gD4ZkWYt9k5uPkjIjbyn6d RtTAm+Un4EYSIqYqBqU4imX2/RAkidO74FZUA1ROvf+X+wolxjbkPLte/4Qv+6uMF3Gb ZXWA== X-Gm-Message-State: AO0yUKWykiM+2LeOPRwQ1LTNY5MYI6nYbM8ZGPBNHzXimHZ1nft8BrqG P5GJA6QP6yGjUFuPga6vNAHs1Qbv6qM9GvgLgqc= X-Google-Smtp-Source: AK7set+sGkoZVdFmtF4qAXP8i0ZUDFHlMpTwAlohWFbmzRRZjSuduQkzODAFqzk5o4m8YYqB+MDRXgJyxV2MIWPVLys= X-Received: by 2002:a50:d093:0:b0:49d:ec5d:28b4 with SMTP id v19-20020a50d093000000b0049dec5d28b4mr1468753edd.6.1676479581483; Wed, 15 Feb 2023 08:46:21 -0800 (PST) MIME-Version: 1.0 References: <20230215123253.41552-1-bagasdotme@gmail.com> <20230215123253.41552-3-bagasdotme@gmail.com> In-Reply-To: <20230215123253.41552-3-bagasdotme@gmail.com> From: Alexei Starovoitov Date: Wed, 15 Feb 2023 08:46:10 -0800 Message-ID: Subject: Re: [PATCH 2/3] Documentation: bpf: Add missing line break separator in node_data struct code block To: Bagas Sanjaya Cc: Linux Documentation , Linux Kernel Mailing List , Linux Next Mailing List , Linux Power Management , Linux BPF Development , Jonathan Corbet , Huang Rui , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Paolo Bonzini , Tom Lendacky , Dave Marchevsky , Perry Yuan , "Rafael J. Wysocki" , Wyes Karny , Mario Limonciello , oe-kbuild-all@lists.linux.dev, Stephen Rothwell , kernel test robot Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 15, 2023 at 4:33 AM Bagas Sanjaya wrote: > > Stephen Rothwell reported htmldocs warning when merging bpf-next tree, > which was the same warning as reported by kernel test robot: > > Documentation/bpf/graph_ds_impl.rst:62: ERROR: Error in "code-block" directive: > maximum 1 argument(s) allowed, 12 supplied. > > The error is due to Sphinx confuses node_data struct declaration with > code-block directive option. > > Fix the warning by separating the code-block marker with node_data struct > declaration. > > Link: https://lore.kernel.org/linux-next/20230215144505.4751d823@canb.auug.org.au/ > Link: https://lore.kernel.org/linux-doc/202302151123.wUE5FYFx-lkp@intel.com/ > Fixes: c31315c3aa0929 ("bpf, documentation: Add graph documentation for non-owning refs") > Reported-by: Stephen Rothwell > Reported-by: kernel test robot > Signed-off-by: Bagas Sanjaya > --- > Documentation/bpf/graph_ds_impl.rst | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/bpf/graph_ds_impl.rst b/Documentation/bpf/graph_ds_impl.rst > index 8bbf1815efe784..61274622b71d85 100644 > --- a/Documentation/bpf/graph_ds_impl.rst > +++ b/Documentation/bpf/graph_ds_impl.rst > @@ -60,6 +60,7 @@ The new-style data structures are intrusive and are defined similarly to their > vanilla kernel counterparts: > > .. code-block:: c > + > struct node_data { Applied to bpf-next.