Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp6089528rdb; Mon, 18 Sep 2023 04:04:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGzJ12EGuiyy52mP+fBoRPDn/cL6ZS4znQwyQS0i4bqqgikhaArEdvYlxfiGxvvOlmVvoF+ X-Received: by 2002:a05:6830:1e5c:b0:6b9:1af3:3307 with SMTP id e28-20020a0568301e5c00b006b91af33307mr8871152otj.17.1695035059017; Mon, 18 Sep 2023 04:04:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695035058; cv=none; d=google.com; s=arc-20160816; b=FD40OANVSlT+scJ9G2Ea5xdVIyT6WnnR7bUrhkG9c5xhrEKSoW4wRuNA9tSHg+UlwL 519k5PDckvbNzepnKLFGtMurRatVPTFGYt2yXUHN87lUKSTGw1o8d7HTe1JS+KEn6RFA 7k/FHNpKYRzKu17D1ya9x7MNAAyzGw1RLjFGyX6BbjB4N2IM/bwo3odAhnRS7/Vuho9Y kFaq+CVxJ0AZrmZTvFMZYPNlMQzItY53mlJMdHvhmT+4xyZg4JuGw/EsabM8KAYqi4we IZlq+1h6rwauoU0mnfSThmH/jRS62aJQUbnX4T48/LqpJanjve+V79YNdIs9Vlga2Wd8 3Hjw== 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:mime-version:date :dkim-signature:message-id; bh=Uk+zVvfdVv7MKNngERnvzAMpm0IuiTXaieS80CZjc84=; fh=sfbisaBsubhIO9F8nIlaCrdCfdwCDP5acq2zdOytyYk=; b=fwz3dVeGLvYr1SQsxRFKPTO2trhb2WFZPInwHHyPBYSKWzNc1SinmRxIFq29KlrALv tDYD+fHEVkMp5EWofFmbPoxGCNQOmZpvKGu1oar0FEmU0RVL22zMD6endTjGKPxe2V5f 11ZmxvqC4kGNYTXIpASWwsA2V+8t5raSwKcu+jKi0cc2dPEZEjFrYrHkC4CmwTfcX9oc W7w05SxwQLd6AH/vmB//+n7BcuPdaw3knYcXvK6pQCfs+JJ1PqW9OukV/f69/YaFuDnG /9SHDT8jpL+/TNxqdXu12tbOyj4B0gKk9FU7OwaeaK14Z/THWGxvn+HH/ulFHFwuKPRg MEtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=iKeSM+RE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id k25-20020a6568d9000000b00573fc129092si7903248pgt.866.2023.09.18.04.04.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 04:04:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=iKeSM+RE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 0EF828142DA6; Mon, 18 Sep 2023 03:02:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241092AbjIRKCM (ORCPT + 99 others); Mon, 18 Sep 2023 06:02:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241181AbjIRKBy (ORCPT ); Mon, 18 Sep 2023 06:01:54 -0400 Received: from out-220.mta0.migadu.com (out-220.mta0.migadu.com [IPv6:2001:41d0:1004:224b::dc]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F78C116 for ; Mon, 18 Sep 2023 03:01:42 -0700 (PDT) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1695031300; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Uk+zVvfdVv7MKNngERnvzAMpm0IuiTXaieS80CZjc84=; b=iKeSM+REZz4FieSgC9pIJiY95kdpMJOHBWEmy6JSu9vGsxUJNU9pdo/DREH6a5+hHiW8/N x5JVlqSIitpyLqsVOGHEWPW3LuNELYk3aactu4/g7jKwritJSexjo7joYGwCOIfhHXsaTs ZaHAy+yn2tQbPA6+IKbIwAS2MCfRml4= Date: Mon, 18 Sep 2023 11:01:34 +0100 MIME-Version: 1.0 Subject: Re: [PATCH 1/2] Documentation: dpll: Fix code blocks Content-Language: en-US To: Bagas Sanjaya , Arkadiusz Kubalewski , Jiri Pirko , Jonathan Corbet , "David S. Miller" Cc: Linux Kernel Mailing List , Linux Networking , Linux Documentation , Stephen Rothwell References: <20230918093240.29824-1-bagasdotme@gmail.com> <20230918093240.29824-2-bagasdotme@gmail.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Vadim Fedorenko In-Reply-To: <20230918093240.29824-2-bagasdotme@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 18 Sep 2023 03:02:42 -0700 (PDT) On 18/09/2023 10:32, Bagas Sanjaya wrote: > kernel test robot and Stephen Rothwell report htmldocs warnings: > > Documentation/driver-api/dpll.rst:427: WARNING: Error in "code-block" directive: > maximum 1 argument(s) allowed, 18 supplied. > > .. code-block:: c > ... > Documentation/driver-api/dpll.rst:444: WARNING: Error in "code-block" directive: > maximum 1 argument(s) allowed, 21 supplied. > > .. code-block:: c > ... > Documentation/driver-api/dpll.rst:474: WARNING: Error in "code-block" directive: > maximum 1 argument(s) allowed, 12 supplied. > > .. code-block:: c > ... > > Fix these above by adding missing blank line separator after code-block > directive. > > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-kbuild-all/202309180456.lOhxy9gS-lkp@intel.com/ > Reported-by: Stephen Rothwell > Closes: https://lore.kernel.org/linux-next/20230918131521.155e9e63@canb.auug.org.au/ > Fixes: dbb291f19393b6 ("dpll: documentation on DPLL subsystem interface") > Signed-off-by: Bagas Sanjaya Reviewed-by: Vadim Fedorenko > --- > Documentation/driver-api/dpll.rst | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/driver-api/dpll.rst b/Documentation/driver-api/dpll.rst > index bb52f1b8c0be31..01eb4de867036f 100644 > --- a/Documentation/driver-api/dpll.rst > +++ b/Documentation/driver-api/dpll.rst > @@ -425,6 +425,7 @@ The simplest implementation is in the OCP TimeCard driver. The ops > structures are defined like this: > > .. code-block:: c > + > static const struct dpll_device_ops dpll_ops = { > .lock_status_get = ptp_ocp_dpll_lock_status_get, > .mode_get = ptp_ocp_dpll_mode_get, > @@ -442,6 +443,7 @@ structures are defined like this: > The registration part is then looks like this part: > > .. code-block:: c > + > clkid = pci_get_dsn(pdev); > bp->dpll = dpll_device_get(clkid, 0, THIS_MODULE); > if (IS_ERR(bp->dpll)) { > @@ -472,6 +474,7 @@ The registration part is then looks like this part: > In the error path we have to rewind every allocation in the reverse order: > > .. code-block:: c > + > while (i) { > --i; > dpll_pin_unregister(bp->dpll, bp->sma[i].dpll_pin, &dpll_pins_ops, &bp->sma[i]);