From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B344C4361B for ; Fri, 12 Mar 2021 11:08:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 01EAF64FEA for ; Fri, 12 Mar 2021 11:08:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233978AbhCLLIZ (ORCPT ); Fri, 12 Mar 2021 06:08:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233823AbhCLLII (ORCPT ); Fri, 12 Mar 2021 06:08:08 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79B17C061574 for ; Fri, 12 Mar 2021 03:08:08 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id d15so4568970wrv.5 for ; Fri, 12 Mar 2021 03:08:08 -0800 (PST) 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=xE16iWVrd/Dz2OStGgcbMQc82tadivuaZyZu3WDq4F4=; b=EeAJHIWUnnRZrbfgqRD8sH2Bb66d8WsCAn34rgGxA/jfeVYyJ+mEcFI1+cJVsLmoAu GrMSJd6sc2u0qwU6gfduVq9xSLQ18QwQpgSrlFZcmLRsApiNR4Op3sNIFuWnSRunwdiI tNKCxcWujNnIx8pi80XzVz1hYfnMPArSy7bU/yEWXDzc6AMX6dfhTXujg9f0LXzSPDTp Gz0mHr6iQstp5z0SR5UqQ50E/nIOCOM6ue1/QdC2fXv5TwXEgdPyvzGAMhX1GsXyiJWX mZ++VXA8u9xxknhkdI4KCrjmsKFk2hC6neZgTcNuLnV9QFlOvbYAegmz/l7lKyw7dYHs C76g== 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=xE16iWVrd/Dz2OStGgcbMQc82tadivuaZyZu3WDq4F4=; b=EmDi0oW4ZGonbyhdjE0i0XqOUkUGG+M53ETQuQtVNmSRispr3EPB6mO9KfcMDvHsLf T2REfrcdfhqQ3MUhufuc+D1BVrdtQuGG0+eWb/kd7ZyE/6Egj55yA14hmppw3Xrnhkkv FQ/O42nQOXLZzO/EDsfc8Rc7SNc4rCGy+3okR2MDwCsqReQqIHg89RmaSJxSFSP+TbWM PGCy1Jzl4RtU6T1dbvVcm1XCJyUArADf/z0R1VEGNLVuA/IF+gHL3WpFG9MelkWcn1A7 zFR2tLP4shWKTlr+3StzI69Fr7Wd/ZROY4sQ1tHsi5BUuGvA+1kwP+Vtm6IohM1ZgCvh lYIA== X-Gm-Message-State: AOAM532JAsBC76R9VhpAuWn5V3Fj+dgxb/ZAFqpnm2MMN0nef/EtkqLH /XEzqX2D6e03OojpOWbvfLTTbQ== X-Google-Smtp-Source: ABdhPJypeu4b3s1vla9CbVWZHOQGvyj/52c04I4/kpBdBjdEYA8wHL1/IsClg3imnrRx4g+ZmamUyQ== X-Received: by 2002:a5d:6c69:: with SMTP id r9mr13168817wrz.11.1615547285441; Fri, 12 Mar 2021 03:08:05 -0800 (PST) Received: from dell.default ([91.110.221.204]) by smtp.gmail.com with ESMTPSA id f126sm1813003wmf.17.2021.03.12.03.08.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 03:08:05 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Rob Herring , Frank Rowand , "David S. Miller" , devicetree@vger.kernel.org Subject: [PATCH 04/10] of: base: Fix some formatting issues and demote non-conformant kernel-doc headers Date: Fri, 12 Mar 2021 11:07:52 +0000 Message-Id: <20210312110758.2220959-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210312110758.2220959-1-lee.jones@linaro.org> References: <20210312110758.2220959-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/of/base.c:315: warning: Function parameter or member 'cpun' not described in '__of_find_n_match_cpu_property' drivers/of/base.c:315: warning: Function parameter or member 'prop_name' not described in '__of_find_n_match_cpu_property' drivers/of/base.c:315: warning: Function parameter or member 'cpu' not described in '__of_find_n_match_cpu_property' drivers/of/base.c:315: warning: Function parameter or member 'thread' not described in '__of_find_n_match_cpu_property' drivers/of/base.c:315: warning: expecting prototype for property holds the physical id of the(). Prototype was for __of_find_n_match_cpu_property() instead drivers/of/base.c:1139: warning: Function parameter or member 'match' not described in 'of_find_matching_node_and_match' drivers/of/base.c:1779: warning: Function parameter or member 'np' not described in '__of_add_property' drivers/of/base.c:1779: warning: Function parameter or member 'prop' not described in '__of_add_property' drivers/of/base.c:1800: warning: Function parameter or member 'np' not described in 'of_add_property' drivers/of/base.c:1800: warning: Function parameter or member 'prop' not described in 'of_add_property' drivers/of/base.c:1849: warning: Function parameter or member 'np' not described in 'of_remove_property' drivers/of/base.c:1849: warning: Function parameter or member 'prop' not described in 'of_remove_property' drivers/of/base.c:2137: warning: Function parameter or member 'dn' not described in 'of_console_check' drivers/of/base.c:2137: warning: Function parameter or member 'name' not described in 'of_console_check' drivers/of/base.c:2137: warning: Function parameter or member 'index' not described in 'of_console_check' Cc: Rob Herring Cc: Frank Rowand Cc: "David S. Miller" Cc: devicetree@vger.kernel.org Signed-off-by: Lee Jones --- drivers/of/base.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index 8a348f0d3c5e7..e0319e5f5793a 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -305,7 +305,7 @@ bool __weak arch_match_cpu_phys_id(int cpu, u64 phys_id) return (u32)phys_id == cpu; } -/** +/* * Checks if the given "prop_name" property holds the physical id of the * core/thread corresponding to the logical cpu 'cpu'. If 'thread' is not * NULL, local thread number within the core is returned in it. @@ -1128,7 +1128,7 @@ EXPORT_SYMBOL(of_match_node); * will; typically, you pass what the previous call * returned. of_node_put() will be called on it * @matches: array of of device match structures to search in - * @match Updated to point at the matches entry which matched + * @match: Updated to point at the matches entry which matched * * Returns a node pointer with refcount incremented, use * of_node_put() on it when done. @@ -1772,7 +1772,7 @@ int of_count_phandle_with_args(const struct device_node *np, const char *list_na } EXPORT_SYMBOL(of_count_phandle_with_args); -/** +/* * __of_add_property - Add a property to a node without lock operations */ int __of_add_property(struct device_node *np, struct property *prop) @@ -1793,7 +1793,7 @@ int __of_add_property(struct device_node *np, struct property *prop) return 0; } -/** +/* * of_add_property - Add a property to a node */ int of_add_property(struct device_node *np, struct property *prop) @@ -1837,7 +1837,7 @@ int __of_remove_property(struct device_node *np, struct property *prop) return 0; } -/** +/* * of_remove_property - Remove a property from a node. * * Note that we don't actually remove it, since we have given out @@ -2125,9 +2125,9 @@ EXPORT_SYMBOL_GPL(of_alias_get_highest_id); /** * of_console_check() - Test and setup console for DT setup - * @dn - Pointer to device node - * @name - Name to use for preferred console without index. ex. "ttyS" - * @index - Index to use for preferred console. + * @dn: Pointer to device node + * @name: Name to use for preferred console without index. ex. "ttyS" + * @index: Index to use for preferred console. * * Check if the given device node matches the stdout-path property in the * /chosen node. If it does then register it as the preferred console and return -- 2.27.0