Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3694235rdh; Thu, 28 Sep 2023 22:25:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGrNeZ5rzzABgGXPBdIepWoY58XTeWqp07K04o8qfPE1o5WMZz7VOzvxRwqv4VfT7Kmc/LJ X-Received: by 2002:a17:902:db02:b0:1c5:fe75:b304 with SMTP id m2-20020a170902db0200b001c5fe75b304mr3973509plx.59.1695965108256; Thu, 28 Sep 2023 22:25:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695965108; cv=none; d=google.com; s=arc-20160816; b=lrePUWCxZPgfCuFU4YunBya6B1B5/XYZC51xb/MSZ8sbou753PJ29pMKr5umO9Q6XV 6BfGxN0L9SQOBsnQJPJRcUYV/nPo6fsX6qeAN8QkSZ+r1UoogSLBKt0MKq+CjQNhCPoq xEa39lsYXCQ/01m3sgUd/VVik40DW2yAhJkBYpHKAPe0tQ7VHyfQTir8C8vcdu01E68K i3UMn1r0v55bRkx1uvdY39Gu3O8H+lXnirG58X+K266rDFldWfGyI4u5ixTmiLE1MZDK 219R34dpcSD9r/jcKC0R8ky31TyITxpeqPX0SeYIccQymqiZXGJi0W9scpCSOieXOWac k7ZA== 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=Ounj1+uXd+VOP4zrK2phg+RjnwNWyqqQjfN2b+rvDes=; fh=hgYHT8iSj6RKvZZvz+EcyQSBALI5gQYX0/KOy80+gOs=; b=rCH3X/9S0loy3CqTKIJzhSH/ScbMs4jyWDI/rccz43UyA90d7gc5QcwlUe3vMbnPvg eq2tABqtcM+K/zwR57mG+tpUisqURyNKGzuhi1Z8eMeslruih0MplJezmJzCFb7Li+8P aRHXiafAV2V950An7pr5rtDtBm81ZoWxrPZmXAjxRkBJVeLJqD/exu4ztY8cvPtTB8km oXRKI+DYV5Ek+XaSVQT6Z3F5+SAvs6hVltA/jhPlrb1cdiqpNXHGJlwHFPD4qkoUxwFX +hEVuJpqSym9vuiLDfPlE4tIoU3iKIbl94xKlRLuvfWQKQ/knbIiv9WIAE277TVKbN0/ gJhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=TmxnbLPx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id p15-20020a170902ebcf00b001c0727658c3si19123760plg.259.2023.09.28.22.25.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 22:25:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=TmxnbLPx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id B343584FF2DB; Thu, 28 Sep 2023 13:42:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232266AbjI1UmM (ORCPT + 99 others); Thu, 28 Sep 2023 16:42:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231822AbjI1UmJ (ORCPT ); Thu, 28 Sep 2023 16:42:09 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C820419C; Thu, 28 Sep 2023 13:42:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=Ounj1+uXd+VOP4zrK2phg+RjnwNWyqqQjfN2b+rvDes=; b=TmxnbLPx4XXYwmI1upPf32XSYB TZn2i1I6Doptnl8FAfj4f/tQiRkRCfIpH845+OfdtWTyZSu4xfD7ci6GUeL7tsp+q2ODLPp+Yl5NC ghmklItQMJIzbv6A5/4c7eP0GdAIxiISRxVSeUEqXfh4XNgAxnRFUxKQQcy98X9VB0H2BHFlPpXhq +ViWew9yo3ydTBtj0fLN8QIaE4pfFJ5sD5zYze5Sx1feSi+EUaLtX8PYTikeF69Oru9BpOI1IAeu5 SzZZURscNsi1YrqhYV20T04LoJATGE6tmWYwcYKQEq18tWiyhWnDUIVNCJpYacesvgvsg6H33HyhF uWCVMOaQ==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qlxpk-006eoe-2y; Thu, 28 Sep 2023 20:42:04 +0000 Message-ID: <4731c8da-3dfa-47da-baf1-26df019d08ee@infradead.org> Date: Thu, 28 Sep 2023 13:42:04 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v2 1/2] Documentation: dpll: Fix code blocks Content-Language: en-US To: Bagas Sanjaya , Linux Networking , Linux Documentation , Linux Kernel Mailing List Cc: Vadim Fedorenko , Arkadiusz Kubalewski , Jiri Pirko , Jonathan Corbet , "David S. Miller" , kernel test robot , Stephen Rothwell References: <20230928052708.44820-1-bagasdotme@gmail.com> <20230928052708.44820-2-bagasdotme@gmail.com> From: Randy Dunlap In-Reply-To: <20230928052708.44820-2-bagasdotme@gmail.com> 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,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 28 Sep 2023 13:42:21 -0700 (PDT) On 9/27/23 22:27, 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") > Reviewed-by: Vadim Fedorenko > Signed-off-by: Bagas Sanjaya Acked-by: Randy Dunlap Tested-by: Randy Dunlap Thanks. > --- > 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]); -- ~Randy