Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3126626rwo; Mon, 24 Jul 2023 06:43:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlFPCRXDaleSH4d97E5jma7n8vGBszYIXvck9FZMwC9ArNYXCmWUYnf9cVSXmh6ev6V6GZh1 X-Received: by 2002:aa7:d383:0:b0:522:2224:c5ff with SMTP id x3-20020aa7d383000000b005222224c5ffmr3820419edq.40.1690206194724; Mon, 24 Jul 2023 06:43:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690206194; cv=none; d=google.com; s=arc-20160816; b=neY8wrrfUUIE4sKzfRlWe0XLRkAMr4UYX1DOagMuHwGNpe5dzcFHJDqMH221WuW7en /nljCpdvNIWkXQppdW7bfVlfXmWKhHnKUliJR3iT6Yx3g8OQ4OKrnV59KcW+k4HY4Kpr GAp9+AW/OZVF97Kdlqf0fLq8z6+tdgITvwnvy+fEl/zL5uGvjIclXjNMGgLMzlOon/QU /OhqHo6KZx1f6hH1yWZYHTAwcsuXKIK3XpFA0RDEs3uKZx5++G2JcjbYf6dPRxOO3Rci n9AraPH78ZQguAABXDrOYTRzo5a3h4jp2dh9zcZNuMCDqDsJ+3mqKLGvq/BvsIu01i/U y0VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Ahdisl1fTZ1HsIDOSrRYAIoMEpmTPWIdpBdHpMmY87Q=; fh=fy6Ga+/NitdoroEHHWPxMU5adI9ZIm5QHJ+nIMSRkkc=; b=abE0TE179LbKtLU++EbT23lxtM9HQ9Cz4nea0XOqsIrHD1l3Sp9pSEnDatLnurYID0 Hr7g0IE4cZIfv4oXZyEfYyT6H75ztQrw89ng3DUKZnhrE1JDRlgx51E94gk+1G2I0L4Q 488IRZ890pT47ZTqac/dnJMQM42oCPqMHQLpwW9G+HmJ7LewXk+0vlfinlal6jj0Wy// yfmhxcJDN0E0SN4QqVb72QFIR7hKU5j1GuTW6m7vYcyMHlw4xR/jQUjsOiV6xwRCSB7S SE0QefAdVrx8BaBt/LUIiQVR3UBGA1FXiThwUTunnydT0lWCrWOiO1epLWYJ6iTUViiN pb8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ftbVneXB; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y1-20020aa7d501000000b00521db0b9db0si6120082edq.625.2023.07.24.06.42.39; Mon, 24 Jul 2023 06:43:14 -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=@kernel.org header.s=k20201202 header.b=ftbVneXB; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229479AbjGXNNa (ORCPT + 99 others); Mon, 24 Jul 2023 09:13:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229903AbjGXNN0 (ORCPT ); Mon, 24 Jul 2023 09:13:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C562F5; Mon, 24 Jul 2023 06:13:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C56A061173; Mon, 24 Jul 2023 13:13:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9CD1C433CD; Mon, 24 Jul 2023 13:13:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690204404; bh=gWOH0uyBxFAQFsitrV8ckB3ZDQP6ZEQxzPayDsxkpxM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ftbVneXBxS4CtSEIVk1WWYxMQF2HFE3xjsQRI7eZwg+2ZPkR2+KsEmD90myobeadG HIBjRpJH+hH1C3FJXvHeZ42iaF+Wh7xYtMywPIm8/fJNXROZCAKR1P2jOV2XQKjL0O PC1h4BXIHJlcYA9Z9ze943nPSxvwZWyuTlVzPD1zLwa+P17k+TEzxSeyYI0d8+D85l VXQUV/M2PO+LWAwPTM2zBHZ2NbRyRozpSp6KSKGyU9BBF6mvJjxQtbichqHwU5yz8f o0r/4tc12rwM9jesSRJHS85BiKKWlJR9x0gEG7mf0l9sYkObIrttW/pJF+fzPY1vzn FYz2Hl/5BcGVw== Received: (nullmailer pid 3313599 invoked by uid 1000); Mon, 24 Jul 2023 13:13:16 -0000 Date: Mon, 24 Jul 2023 07:13:16 -0600 From: Rob Herring To: Stephen Rothwell Cc: Rob Herring , Frank Rowand , Linux Kernel Mailing List , Linux Next Mailing List , Randy Dunlap Subject: Re: [PATCH] of: fix htmldocs build warnings Message-ID: <20230724131316.GA3307169-robh@kernel.org> 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> <20230724135513.3773f184@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230724135513.3773f184@canb.auug.org.au> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 On Mon, Jul 24, 2023 at 01:55:13PM +1000, Stephen Rothwell wrote: > 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: > > > > > > 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_name' description in 'of_node_init' > > > > > > Reported by: Stephen Rothwell > > > Reported by: Randy Dunlap > > > Fixes: 39459ce717b8 ("of: dynamic: add lifecycle docbook info to node creation functions") > > > Signed-off-by: Stephen Rothwell > > > --- > > > include/linux/of.h | 7 +++---- > > > 1 file changed, 3 insertions(+), 4 deletions(-) > > > > > > Replaces "[PATCH] of: fix htmldocs build warning" and additionally > > > fixes the new warning about phandle that Randy reported. > > > > > > 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; > > > }; > > > > > > +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) > > > -- > > > 2.39.2 > > > > Any chance if this patch being applied? > > Is there something wrong with the patch? Sorry, missed this one. Now applied. If it's not sent to DT list and into PW, then it's a gamble when/if I see it. > P.S. Rob, should I use your kernel.org address as your linux-next > contact? Yes. Rob