Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp2658236rwo; Sun, 23 Jul 2023 21:46:20 -0700 (PDT) X-Google-Smtp-Source: APBJJlF1PYnrUlog2H0oAbhSMet1s0ssBm9mHb5hnwXylZ8y9aiAZbwspfR+oplUSBMVL4XqYQ9/ X-Received: by 2002:aa7:c519:0:b0:51e:2664:e6e7 with SMTP id o25-20020aa7c519000000b0051e2664e6e7mr7542499edq.38.1690173979676; Sun, 23 Jul 2023 21:46:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690173979; cv=none; d=google.com; s=arc-20160816; b=VDqTWfWsIo/FMJU2LTjj/90TAbcpfsgDBiPnPRQ0WeT5gDv3cmjLcDcG4aWN29cs8t iYJAc4N51gC+9NKSpJ0ajvTIGIt6fiTnnC7zGwchzgvRMoBfXNFTWsYbI6Jek2QuN43J //Y+rp2IrRPUa1u2douUoHmfvwweO3sTk+HL1sk7KZ8UGaxFQCvXTesSMhvFWZ5SIyCo jAqS9xmKlQnlpWm7HEueJJq4Kb2e4B7rGrL9kDsKSUKrL3p/+4fO5wYtwdUh5Bowjlam hWhT2X5vDryRFamWKZVsnxBHOw2Be7JNw6tus947cz3+InJZ3R8IOIjVxn6nNpEnBgs1 M31Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=1O9veABFuWEkzULx1hz8w11nCNSgdrxGO+rHILRsC0w=; fh=6NdrxV8mCpRDo0FzljT64BEgU/4t98dcIVlEeyF3uc0=; b=bwa5e8gP4Ly4RIdTFJ27zHq4AXCE2K7PwhNiLPOq2SOE4aAWU8U3Nnka27CyhWB4Yw E5+pmucshdnk+uQVrCd0ZbsRaBmFuHvez4Yk1p4mD31qohVIwc7qkFF9etitDt/clccf uLkRDWuKCGVcdtDgXliWdHizSgdiGL3t9IKdGZhHiAeuFyRZYVszUqB2kmRLc6K0FFeh /d7QkQJIAmvMK67TE3tZ7NOxlsO5R1JEmMfm1F7w3bBZlFwfJ9kG0iwaaXHNCPFsNuLm Egjdfh6ngC/UmJz43+TLS4frQAunsLnpCyjVt+GkWBDR3TyAs68Ro3BY7vCIEU3Mz6Zj xq3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=EOgqsgJN; 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=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a056402070400b0051df4a5a722si6014450edx.334.2023.07.23.21.45.55; Sun, 23 Jul 2023 21:46:19 -0700 (PDT) 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=@canb.auug.org.au header.s=201702 header.b=EOgqsgJN; 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=NONE dis=NONE) header.from=canb.auug.org.au Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230053AbjGXDzU (ORCPT + 99 others); Sun, 23 Jul 2023 23:55:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229504AbjGXDzT (ORCPT ); Sun, 23 Jul 2023 23:55:19 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85AC7D7; Sun, 23 Jul 2023 20:55:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1690170916; bh=1O9veABFuWEkzULx1hz8w11nCNSgdrxGO+rHILRsC0w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EOgqsgJNXyat/NFshfTdGBEP3OtXREIhy+InJyW25sZANRaKdpy92hnyxNw2J3s2u /o9bMq56fjUr4wB/eaoAgQUX6lfdWI+MEj/Df5RwvizWW0a5Tlc7soiev+GmcNPvbm 0XNbsldgJpqCbUlQaODJiBSBZFzuW72jpAGy2mA2DxTqdlbLt8oLOs6QKUHC3+F7xw l9Q2zr13OJaSX80gDM3EQ9dRw4d7AD7nF4ZO4gh0zLLQE9AtSNYsd+AMazumoobuxJ 1BQGNWI53SvPcVOyvgFFbKnm7aWSCGlupWmnitZ0WLIArAOiIJVVeekxwbQ+hUrw2H ZKHxq9JFwkHpg== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4R8RBq6PyCz4wy1; Mon, 24 Jul 2023 13:55:15 +1000 (AEST) Date: Mon, 24 Jul 2023 13:55:13 +1000 From: Stephen Rothwell To: Rob Herring Cc: Frank Rowand , Linux Kernel Mailing List , Linux Next Mailing List , Randy Dunlap , Rob Herring Subject: Re: [PATCH] of: fix htmldocs build warnings Message-ID: <20230724135513.3773f184@canb.auug.org.au> In-Reply-To: <20230713161038.382b5e14@canb.auug.org.au> References: <20230220163638.04e9d0c4@canb.auug.org.au> <20230310113258.463f836c@canb.auug.org.au> <20230322180032.1badd132@canb.auug.org.au> <20230713161038.382b5e14@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/1a4j_oBF+fVe6xjvNiDxNmv"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,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 --Sig_/1a4j_oBF+fVe6xjvNiDxNmv Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Thu, 13 Jul 2023 16:10:38 +1000 Stephen Rothwell = wrote: > > On Wed, 22 Mar 2023 18:00:32 +1100 Stephen Rothwell wrote: > > > > Fix these htmldoc build warnings: > >=20 > > include/linux/of.h:115: warning: cannot understand function prototype: = 'const struct kobj_type of_node_ktype; ' > > include/linux/of.h:118: warning: Excess function parameter 'phandle_nam= e' description in 'of_node_init' > >=20 > > Reported by: Stephen Rothwell > > Reported by: Randy Dunlap > > Fixes: 39459ce717b8 ("of: dynamic: add lifecycle docbook info to node c= reation functions") > > Signed-off-by: Stephen Rothwell > > --- > > include/linux/of.h | 7 +++---- > > 1 file changed, 3 insertions(+), 4 deletions(-) > >=20 > > Replaces "[PATCH] of: fix htmldocs build warning" and additionally > > fixes the new warning about phandle that Randy reported. > >=20 > > diff --git a/include/linux/of.h b/include/linux/of.h > > index 9b7a99499ef3..d55dab9ad728 100644 > > --- a/include/linux/of.h > > +++ b/include/linux/of.h > > @@ -100,10 +100,12 @@ struct of_reconfig_data { > > struct property *old_prop; > > }; > > =20 > > +extern const struct kobj_type of_node_ktype; > > +extern const struct fwnode_operations of_fwnode_ops; > > + > > /** > > * of_node_init - initialize a devicetree node > > * @node: Pointer to device node that has been created by kzalloc() > > - * @phandle_name: Name of property holding a phandle value > > * > > * On return the device_node refcount is set to one. Use of_node_put() > > * on @node when done to free the memory allocated for it. If the node > > @@ -111,9 +113,6 @@ struct of_reconfig_data { > > * whether to free the memory will be done by node->release(), which is > > * of_node_release(). > > */ > > -/* initialize a node */ > > -extern const struct kobj_type of_node_ktype; > > -extern const struct fwnode_operations of_fwnode_ops; > > static inline void of_node_init(struct device_node *node) > > { > > #if defined(CONFIG_OF_KOBJ) > > --=20 > > 2.39.2 =20 >=20 > Any chance if this patch being applied? Is there something wrong with the patch? P.S. Rob, should I use your kernel.org address as your linux-next contact? --=20 Cheers, Stephen Rothwell --Sig_/1a4j_oBF+fVe6xjvNiDxNmv Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmS99iIACgkQAVBC80lX 0GwUjgf/ZLyWdLI8NGli3RmCOslcvCkMO1wrOinImDrfrn5yZnstdgdBmNUObUTD 4Xghp0pi6sbYyn4WVBuf3JKL4XrPMt8rJ47O4Nid8PcKfbsONDgIhRlbWBNHRHM5 PGvNuMMSr9/M4qNFCFDe2D1XLa5HouiTOGVNw+sR0fBkOBu7UHawNmC1PrBn+zcv voCgjQbL9J1Czmpresx8q8H/Oz+apSVSv5xpOb3REFsmvt2Xih3xal00iinS9o53 ZbmMkDyUUjt9O85XM8LXTCJhL3j39c5NDCW0Bz+eh+VugL0T+24Ky+JnzoPKTx5V gyy6QSd0ED+tYp5jfWJzZNpTC4swwg== =R8n4 -----END PGP SIGNATURE----- --Sig_/1a4j_oBF+fVe6xjvNiDxNmv--