From patchwork Thu Mar 18 10:40:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 403963 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp356760jai; Thu, 18 Mar 2021 03:41:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVvSiT7aq1M74jYFiCvBpu7GhRYb4ofxWMhNfWm5PluSffYO/au7jxlMJJQ5pCJiPxe6j8 X-Received: by 2002:aa7:cf95:: with SMTP id z21mr2774061edx.76.1616064097209; Thu, 18 Mar 2021 03:41:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616064097; cv=none; d=google.com; s=arc-20160816; b=e9+cVWZzNCQeLvqYzczcY2cQoRbEn59L68mGZQKNLQDSvjriEsuhylSTpCHKm+mT1s obgyXbRyphEMryAcyDgCZuokPhR3FfSrSV+qf5E8YVWU8wvjwtW9G+8/DZfGW12p0wjg StNMnTsHArUpfoaZRLw/QALDXFJWdQTiQ1+pIeM18BSDvyvVEa9tn7wYQDN++15NKWkP R+cFItNytfSgaYCXAIH5zFotEtr1iCRhZalQxleqxf1yJQVSmX0V/eO4pB+pbImhIFmg 6s0KWb6kKsi0qjFZfb8bevBjRg+j2BJjTkuiMP9jrK4xY3jWA9Xkv+9wIo4u6n9gnOmq yPLA== 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=hNM7oYxDpUVruJupFtOo+nkAp1rdd1yt5xHzqF7N4tE=; b=Ux4ii1DaeobhgjbRqWduS1aFAZwhAVQ5JXca00GUBSt3Ddi8OE1+LC/q4DYUDRZzaC 9s+WYU2CsvI7zp6kRnjWUE5sQEqZdu+vb1SW1qf2XtzOPkCAJtPzkrZqoGQbjd/0IvwQ Og7P0nKc5JTUYW5je/5Rergey4j9g7YJgSl9qpH7uqFlSBhobLAVYsNQETKkv0Ya10BH Ak7F2Is1w6SiXyBFGpUyU3Q5KpZIvvdT1HwXi4PGESCsIEBJEEaOqSDqkwe8Y0y5xz5+ 3NXsK+1MYdNUttKJKQdgRLHGs04W2Bjp0h5Yifmgc0J0cjqYudR51tDwr9zCJRDj5z0V tYfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=R8uOHjvb; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z22si1279805edx.180.2021.03.18.03.41.37; Thu, 18 Mar 2021 03:41:37 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=R8uOHjvb; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230246AbhCRKlD (ORCPT + 6 others); Thu, 18 Mar 2021 06:41:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230221AbhCRKkr (ORCPT ); Thu, 18 Mar 2021 06:40:47 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C144C061760 for ; Thu, 18 Mar 2021 03:40:47 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id t5-20020a1c77050000b029010e62cea9deso3064642wmi.0 for ; Thu, 18 Mar 2021 03:40:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hNM7oYxDpUVruJupFtOo+nkAp1rdd1yt5xHzqF7N4tE=; b=R8uOHjvb96TRkgdKsmr7NEuIsHxxOwB9zHlgFIeN32iHimikWiYHdnN3fdKtYnf8ZY kUtsqru6YrMhLZrJZixPy94Ie+6GMpH9wPAjnVbCDKvO5ZwJuQh3+VzY8Mb32KtFuAlm aIRao9qjYO6RrR9T0T7oAWUFDROSvvW/PNGXzcNT90JMG2xklFEuIdRUUIPCtzD99xqW Ofwuq8Ocm0dqlL2pl2nvhwGovLNzOiWZF6JwLICdkW4KEZ9BecxPY0kMo1k8p6M3BM9E FLaBI2SsciwtncY8+0Jck3PWFbDo+jsgx7VsqD4Uk8MNQlFiQZmGe8u7wQXgPR0WjBm7 vU1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hNM7oYxDpUVruJupFtOo+nkAp1rdd1yt5xHzqF7N4tE=; b=XfXSnHrSlI1ps4YAFUtToW9foZlh7zmuT14lh3ap/qVNfOJyIURoZVQ9mE+4C1zNTr QFlc9VoGm1Jw0uBpaqmv5PfNwgLUy85rwTk5CMDaB9Sn9sJ1+ko4AjTyvoGUTpSNCAtg 8LcGKwkv6f4gWYfM3wzW351xXTIve9lTGxEd8WW0neK4uW/OXhC5QF4jhiG11m5pELq0 wizDU0YNazElzh4kVS5My266IQm3dX1IlQznXTvSLeZnLPtwu+RQjsYeJhgNDR71fHk9 qe6jJfQJ53GAZqlONJvqUQJv5AxWUCKf0ofvoCMGaoxHb4Y09flFrgtM8gpmo7IQUy1t FvYg== X-Gm-Message-State: AOAM530nMMCV1WoAi2V0UBxMlm4br4JdZqHuIwDFbw8gpjTeXSZkbrAS xz7Oi4MbqAk4ddAOCX0o+qjJMA== X-Received: by 2002:a7b:cf16:: with SMTP id l22mr2938633wmg.26.1616064046073; Thu, 18 Mar 2021 03:40:46 -0700 (PDT) Received: from dell.default ([91.110.221.194]) by smtp.gmail.com with ESMTPSA id z1sm2426033wru.95.2021.03.18.03.40.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Mar 2021 03:40:45 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Rob Herring , Frank Rowand , devicetree@vger.kernel.org Subject: [PATCH 02/10] of: dynamic: Fix incorrect parameter name and provide missing descriptions Date: Thu, 18 Mar 2021 10:40:28 +0000 Message-Id: <20210318104036.3175910-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210318104036.3175910-1-lee.jones@linaro.org> References: <20210318104036.3175910-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/of/dynamic.c:234: warning: Function parameter or member 'np' not described in 'of_attach_node' drivers/of/dynamic.c:286: warning: Function parameter or member 'np' not described in 'of_detach_node' drivers/of/dynamic.c:326: warning: Function parameter or member 'kobj' not described in 'of_node_release' drivers/of/dynamic.c:326: warning: Excess function parameter 'kref' description in 'of_node_release' Cc: Rob Herring Cc: Frank Rowand Cc: devicetree@vger.kernel.org Signed-off-by: Lee Jones --- drivers/of/dynamic.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.27.0 diff --git a/drivers/of/dynamic.c b/drivers/of/dynamic.c index 9a824decf61f1..1d7a22e44d787 100644 --- a/drivers/of/dynamic.c +++ b/drivers/of/dynamic.c @@ -229,6 +229,7 @@ static void __of_attach_node(struct device_node *np) /** * of_attach_node() - Plug a device node into the tree and global list. + * @np: Pointer to the caller's Device Node */ int of_attach_node(struct device_node *np) { @@ -281,6 +282,7 @@ void __of_detach_node(struct device_node *np) /** * of_detach_node() - "Unplug" a node from the device tree. + * @np: Pointer to the caller's Device Node */ int of_detach_node(struct device_node *np) { @@ -318,7 +320,7 @@ static void property_list_free(struct property *prop_list) /** * of_node_release() - release a dynamically allocated node - * @kref: kref element of the node to be released + * @kobj: kernel object of the node to be released * * In of_node_put() this function is passed to kref_put() as the destructor. */