Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3184485rdh; Thu, 28 Sep 2023 05:20:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEhBRi6EXkWooDfzk6arsLcdDFxXW+mm4Dt5ubkrBkrgab5cyYRe3ioeqi5OGKL+yWxTgae X-Received: by 2002:a05:6358:2923:b0:142:d678:f708 with SMTP id y35-20020a056358292300b00142d678f708mr1049850rwb.19.1695903655248; Thu, 28 Sep 2023 05:20:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695903655; cv=none; d=google.com; s=arc-20160816; b=c9gHX+876mCg/wdufOETJ3/7kmynnED9FITSJxPA+eRc/nk5WXbMN68U2tQM+/n3ZK EQSdbVilAuv7cfxdhiojidePzYSogSKfnQKht9XUDxybJy0SbYjDcVJ96cIFTYX4iP6M efCaItFbZSiNVnvCL+mOiQiFkpZdwF1m8e57O/0c6fTS5dYEi5iE8ct4fGkSkm+KvRnj bq6aqrwBEAskquJ2w3osz/4B4Iu08GECq4IVl4JXFmEHV7191T/pkJV2YIdPTiiaZSAQ TrpgEqnXAOBHooaV+gLx2Ja76ERbhFMmdCPC6TTcTrlo+9ZLuX9WuT+hn5hvNbHiUh4L FXzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2p2z7A/m94fJlY/YCyPmolz6NyjAMwcybhIRjtSPtC8=; fh=yaqtupWolKUsCvdkoHUwoaUCULC/pIKyoYQJvdtesGo=; b=e/ELvUxuIrE2rHGOkfFKwYlAVEHi3paHC0ylXpbMzB+lXVAyHa3hMy2B9rOMfQsNNk CYbjbDhZVBLdtM0K1drd/DcCqBpuMYxNeO1FWn3PjAUaIgFXFW1NXO+xdYaLliHnqnuI 1K8aKormH1P3LBm2mggolK2NQp9WpIf8lPWhJ/hS+a/BJbXa0BJIfw0dUYOpRqrhRFrO Jd8HK2hMQyGyLRkC/EqjaPZauCwg/NLTTnMo1QTS6VJEO9QSP1arybf0tUDS/F4X5um2 eL/TkY/5v+EPHBLE6xLg9WvM2jHEF7vmIvpq0vV301C4JOBzymLclSh48Y6hYxbaevKE Rbvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="CTFv2+/5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id z11-20020a6552cb000000b005775a0cd009si6363513pgp.331.2023.09.28.05.20.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 05:20:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="CTFv2+/5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 1AF1D8042B43; Wed, 27 Sep 2023 22:27:31 -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 S230081AbjI1F1R (ORCPT + 99 others); Thu, 28 Sep 2023 01:27:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjI1F1Q (ORCPT ); Thu, 28 Sep 2023 01:27:16 -0400 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1863C98; Wed, 27 Sep 2023 22:27:15 -0700 (PDT) Received: by mail-pg1-x52a.google.com with SMTP id 41be03b00d2f7-577fb90bb76so6789703a12.2; Wed, 27 Sep 2023 22:27:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695878834; x=1696483634; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=2p2z7A/m94fJlY/YCyPmolz6NyjAMwcybhIRjtSPtC8=; b=CTFv2+/5jmmP6xMwZ9DfYbjz4VBH5T1lrpoOsvDrShujhn56M59UK3zT5/gTMnT1c8 GCBIq4ukdp2dRbMwL9aSk5iVSQuqnkYiJMxj4zD8WSPoWHQXPA3UUBVA/SwTbrLjbTG1 PGrd8/dkc3zcHrG1nSsQ3mZt3ZSC/drWvN2nMcyNOaBfouI4OurCzaidDHxaydW/Wgch uXKMz2pZL7yedOAfeOXUGXTI1EAx2IZaOF16YkKema3f0/falXPyQmanKMERx8UJIrJ/ PnIpddA24KJoE3cgXcN5ZUm4sAVAnZM1ro0M94Ad4/lYK/PrVfr4ZbHnOLxuU3zqYa8d gySQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695878834; x=1696483634; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2p2z7A/m94fJlY/YCyPmolz6NyjAMwcybhIRjtSPtC8=; b=TabTufuNKEb+rVWy1yMX9TELxI5Tld994/deFA6yhobcj/qWKGEo5C/OZyCoFyIpkY U41RAmOHyLi8/KIYqCZIYCl/SFHOhVsqiYfI9Jctsps+MxotLcv9+B28BHErzrBkNf76 ucrxWw+4kyy6whvlqNOz3yIM2aDRGkHbQSx3yP9GygtH0ieuH/2YYYqbxiruqbXr7LvS fsFWcUfZBIv4glxTghPjTBeH1dmaOxKp0OVbBFuEX9vy3cKrmny/7kbpZRTvbwRZ3yud 4uXmCWlKbHupEPDuBCKV0RwxZMZPLebk2memUPi8sHnSsRUox5hznmkgXW5Qo7Enyb9a IfsA== X-Gm-Message-State: AOJu0YzaqXd0pkxoHotrnQuwrv/eenTo+zSUupae2MRuyoC0CSJMtJzL VQgprUvZueH+AS7Ys71OG1o= X-Received: by 2002:a17:90b:1009:b0:268:7ec:51ae with SMTP id gm9-20020a17090b100900b0026807ec51aemr186513pjb.41.1695878834452; Wed, 27 Sep 2023 22:27:14 -0700 (PDT) Received: from debian.me ([103.124.138.83]) by smtp.gmail.com with ESMTPSA id t11-20020a17090a024b00b0026b70d2a8a2sm8997647pje.29.2023.09.27.22.27.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 22:27:14 -0700 (PDT) Received: by debian.me (Postfix, from userid 1000) id 5B8B3816018E; Thu, 28 Sep 2023 12:27:09 +0700 (WIB) From: Bagas Sanjaya To: Linux Networking , Linux Documentation , Linux Kernel Mailing List Cc: Vadim Fedorenko , Arkadiusz Kubalewski , Jiri Pirko , Jonathan Corbet , Bagas Sanjaya , "David S. Miller" , kernel test robot , Stephen Rothwell Subject: [PATCH net-next v2 1/2] Documentation: dpll: Fix code blocks Date: Thu, 28 Sep 2023 12:27:07 +0700 Message-ID: <20230928052708.44820-2-bagasdotme@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230928052708.44820-1-bagasdotme@gmail.com> References: <20230928052708.44820-1-bagasdotme@gmail.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2341; i=bagasdotme@gmail.com; h=from:subject; bh=mfk4yNlrSNx4x3xH+ptdTgkFQ+eyBO67TFNPT7C/BM4=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDKmivLHJq3KnLTgkbbbuW/hXoZcSPLJzShZdP/t7y7E2D 9UOrxlaHaUsDGJcDLJiiiyTEvmaTu8yErnQvtYRZg4rE8gQBi5OAZiI9FFGho8+TE46S5W/NFwr boxhebXP/nX8cfW9u1yTplzoM3l4U4ORYdPN03c7mfpvB9Q8+mSXXzntu+zTTYde9ByKiGL6vcH CggUA X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** 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]); Wed, 27 Sep 2023 22:27:31 -0700 (PDT) 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 --- 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]); -- An old man doll... just what I always wanted! - Clara