Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1170629pxp; Wed, 9 Mar 2022 23:24:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJzfs60VMHlYfipiZ3EGOYSM2sZh1J8O9fkk6DzYbMQQztHPMQKlYY+DpfhXUc9h8gSyIEgJ X-Received: by 2002:a17:907:720b:b0:6db:8b63:ed3 with SMTP id dr11-20020a170907720b00b006db8b630ed3mr413463ejc.234.1646897054567; Wed, 09 Mar 2022 23:24:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646897054; cv=none; d=google.com; s=arc-20160816; b=hFQ0nMAk7aR01X94xs8qkb2yox79C/IWMjHWr7h2zim36C88CdUsWF5tRHfRqjFVRi C4/FgTV9hGlZBgwT2DJvdOFMA7+aDsDHMp92qghLauk4Q3rSN6xanvIRaHFdAqxayXsy lUJziwLL9gYm2hnCdfJIJW6VXSH/OJBfSuR7wTYUOKz6VpIPbQRxGsFOsasRlq5xP+0b JoNLVD2AoA4F6u7dQX6NlP0M/ozjHOyh8LJbw8eG/m0bW/eyXuJ8/MlUIpPiauHwkPAs Ak/6tIBUrCKD71+NOQADAbS7NfYw9Y39wump0/D1/CrYLNPPslN++M4RE53H58YOzqgQ ZDhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=7gp3FOy+D+uN4ZbQ8x42mrqSvOmrYaHXw8rED8ji0lM=; b=0qqZCoVJZWThnaYEOUlkdUksjlMqIzfeVf6Xz3ylXQAjtAri4eBZYlN/ubNK+JAW+j eB3sa919Ol8cPGMgxZf+OV4kkLZ903f9aMFJPaLHsXzBb/OPwhhCUr6yVpOvrSG8+6C5 E3T3iVkj5ISdV9JpDzMo88AG/PnmWeJ9IN5p/61l2lKEHvb0WBkmZf1d+KE4KCnAMc4D p/xH0487ocpY9tydHQ373sEG5ItExu6NSTmI7pkcDHqd2ZNDC2qz4UV+sQNEJDowK+40 8yzlz5VUjAMruaDh35LEmouuV/sKHYrexHQ9XLMP3q/farLiue4Awds8tR3xl6xldxu+ adEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AmEqAChV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b5-20020a1709063f8500b006d1315ba3edsi2561556ejj.824.2022.03.09.23.23.51; Wed, 09 Mar 2022 23:24:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AmEqAChV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S239230AbiCJD1H (ORCPT + 99 others); Wed, 9 Mar 2022 22:27:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232330AbiCJD1H (ORCPT ); Wed, 9 Mar 2022 22:27:07 -0500 Received: from mail-qv1-xf2e.google.com (mail-qv1-xf2e.google.com [IPv6:2607:f8b0:4864:20::f2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35B90F9F99; Wed, 9 Mar 2022 19:26:07 -0800 (PST) Received: by mail-qv1-xf2e.google.com with SMTP id kl20so3591273qvb.10; Wed, 09 Mar 2022 19:26:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=7gp3FOy+D+uN4ZbQ8x42mrqSvOmrYaHXw8rED8ji0lM=; b=AmEqAChV+MdO9NJA1WGm7svgpEN1Zq+PQTRQuOO4uMld0oJ2W7HFotzrjosoTQfXSX /4bvIYKoOD8Ql877NB5xmEQBk2wHotXOZpy0z6g/bGGIZN1weeEJfyqPb58hSCh2ZoAU raee2CN/4eOGdviUh6HOBPN+lR91BpnZL1CXoAos8r9+xWRTZFjZmfp/AVodliMyth0v eNrjMxZGN8qxPf97sbH6HADZZUA5MTH+MG7LXDwZpn9/L5NjVpm9NJTbM5+9ANYdyerS X56dTe2+Mm/rMDD2lBRuOMlMSKuE2RzRzsehhNfkQO+VUXVyVDQ1vvA5A5wR1Gvqn4hI F33w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=7gp3FOy+D+uN4ZbQ8x42mrqSvOmrYaHXw8rED8ji0lM=; b=s9riSBtX7KUgsriXiUwAbg0EIHtBwpNMrDLq9/ufbXexcRc/NXxn6Z4Ev5friXjdlc k1HyFt1paA/MlJVodTLZWqsNxcu5qFYIq3TbBD/vMfeb1XeXaJWybfe5o6q4DbRNSIZU RSnsQ+ZPyr8WAY4wpdJOcAQNDnLZNtrKwr3RsTOoJtE1aCBMGsA9zJrK5S0fch1zYY3N rJXw4zhXoxn5Y227FBM9A9lkqdb3fxJn6fr2Cnc7wqId+doR4gWXJWyMmLF4H1PRYZcK WDx1axu1R4rOv8bzabstx3e+/xJdzoLT0j0GyXdoDZQQBfXbb7ti9kbsrK/dPOgJ4IIC 6KUg== X-Gm-Message-State: AOAM533tE5nxM2P9DFkyt8rPzPJgEf/KyqlyFoS2F00Rxngu40vGYuwO m8g00xd5jsq/WVGY7zEJj8o= X-Received: by 2002:a05:6214:5007:b0:436:5f36:1819 with SMTP id jo7-20020a056214500700b004365f361819mr353165qvb.29.1646882766009; Wed, 09 Mar 2022 19:26:06 -0800 (PST) Received: from ?IPV6:2600:1700:2442:6db0:39e5:833e:12d:a54d? ([2600:1700:2442:6db0:39e5:833e:12d:a54d]) by smtp.gmail.com with ESMTPSA id j11-20020a37a00b000000b0067b436faccesm1771787qke.122.2022.03.09.19.26.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Mar 2022 19:26:05 -0800 (PST) Message-ID: Date: Wed, 9 Mar 2022 21:26:05 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH] Docs: ktap: add code-block type Content-Language: en-US To: Randy Dunlap , linux-kernel@vger.kernel.org, Jonathan Corbet Cc: Rae Moar , David Gow , linux-doc@vger.kernel.org References: <20220131003637.14274-1-rdunlap@infradead.org> From: Frank Rowand In-Reply-To: <20220131003637.14274-1-rdunlap@infradead.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jon, On 1/30/22 18:36, Randy Dunlap wrote: > Fix multiple "code-block::" warnings by adding "none" as the type of > code-block. Mends these warnings: > > Documentation/dev-tools/ktap.rst:71: WARNING: Error in "code-block" directive: > 1 argument(s) required, 0 supplied. > Documentation/dev-tools/ktap.rst:120: WARNING: Error in "code-block" directive: > 1 argument(s) required, 0 supplied. > Documentation/dev-tools/ktap.rst:126: WARNING: Error in "code-block" directive: > 1 argument(s) required, 0 supplied. > Documentation/dev-tools/ktap.rst:132: WARNING: Error in "code-block" directive: > 1 argument(s) required, 0 supplied. > Documentation/dev-tools/ktap.rst:139: WARNING: Error in "code-block" directive: > 1 argument(s) required, 0 supplied. > Documentation/dev-tools/ktap.rst:145: WARNING: Error in "code-block" directive: > 1 argument(s) required, 0 supplied. > Documentation/dev-tools/ktap.rst:195: WARNING: Error in "code-block" directive: > 1 argument(s) required, 0 supplied. > Documentation/dev-tools/ktap.rst:208: WARNING: Error in "code-block" directive: > 1 argument(s) required, 0 supplied. > Documentation/dev-tools/ktap.rst:238: WARNING: Error in "code-block" directive: > 1 argument(s) required, 0 supplied. > > Fixes: a32fa6b2e8b4 ("Documentation: dev-tools: Add KTAP specification") > Signed-off-by: Randy Dunlap > Cc: Rae Moar > Cc: David Gow > Cc: Jonathan Corbet > Cc: linux-doc@vger.kernel.org Are you planning to pick up this patch? I had independently included the same fix in another patch series, but David Gow let me know that Randy's patch already existed, so I removed this fix from my patch. Reviewed-by: Frank Rowand -Frank > --- > Documentation/dev-tools/ktap.rst | 18 +++++++++--------- > 1 file changed, 9 insertions(+), 9 deletions(-) > > --- linux-next-20220128.orig/Documentation/dev-tools/ktap.rst > +++ linux-next-20220128/Documentation/dev-tools/ktap.rst > @@ -68,7 +68,7 @@ Test case result lines > Test case result lines indicate the final status of a test. > They are required and must have the format: > > -.. code-block:: > +.. code-block:: none > > [][ # [] []] > > @@ -117,32 +117,32 @@ separator. > > Example result lines include: > > -.. code-block:: > +.. code-block:: none > > ok 1 test_case_name > > The test "test_case_name" passed. > > -.. code-block:: > +.. code-block:: none > > not ok 1 test_case_name > > The test "test_case_name" failed. > > -.. code-block:: > +.. code-block:: none > > ok 1 test # SKIP necessary dependency unavailable > > The test "test" was SKIPPED with the diagnostic message "necessary dependency > unavailable". > > -.. code-block:: > +.. code-block:: none > > not ok 1 test # TIMEOUT 30 seconds > > The test "test" timed out, with diagnostic data "30 seconds". > > -.. code-block:: > +.. code-block:: none > > ok 5 check return code # rcode=0 > > @@ -192,7 +192,7 @@ line and should end before the parent te > > An example of a test with two nested subtests: > > -.. code-block:: > +.. code-block:: none > > KTAP version 1 > 1..1 > @@ -205,7 +205,7 @@ An example of a test with two nested sub > > An example format with multiple levels of nested testing: > > -.. code-block:: > +.. code-block:: none > > KTAP version 1 > 1..2 > @@ -235,7 +235,7 @@ nested version line, uses a line of the > > Example KTAP output > -------------------- > -.. code-block:: > +.. code-block:: none > > KTAP version 1 > 1..1