From patchwork Fri Mar 12 11:07:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 398558 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1098912jai; Fri, 12 Mar 2021 03:08:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJwKbZlEadtKQagNBD+xb1DGiynevzEu9G7tF0S2Yc/ijjhx0woA1IsQX+KLAE80bQFBYkP0 X-Received: by 2002:a05:6402:68e:: with SMTP id f14mr13405578edy.169.1615547333260; Fri, 12 Mar 2021 03:08:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615547333; cv=none; d=google.com; s=arc-20160816; b=i6o+xjKs/oAs6Hv2MVOT9I71sBXDz1HuBFkZiyhUC+000GAoVwO20skM0gSurHTgBT AzKXYoKCBHftQv6PgCVFoETFvgNgL5oHg/t8A8N1MhiM3ltftNVLTffWcPTOZ/fAMOBl hWqH96y1eJMX/bC4Zug6pNbE1yMyEzkY7ujWvlu2fEniprTtMyoHAGdSuOdz8n5sWFHr JoGgUYBNJLTloVeWCEDMlrz/g9ZV/gO3sPERue/N04IpoDIAcIB6o7L1Te6TtOTePHzQ d+8W9mcpwd9gN26tlvw+jDyA8gN2F8Ookt/G06jN9XW+ikF8TQTNdYJ3l7pkrZh05dv/ ec5w== 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=THhKmywjPm3PSEVsHRgJ9yFTX2Li2LH1I2Fys+RHMbE=; b=xEeeZVes8yOtecdnXq8SX/Oxu6eLUCATDDuA3PYf9Mo6sySX3rqVNWg00uns1J97a4 JjkhqtmVrsB3KloBhN0T9LW4+YA5qbVEgaaKQa+TyTs9M8H7ROeXQLrAFSs7u4CLypUh NquU+gKl2HZz+Hln3qH89aI+vOCXXBbVKMDT9TgQ0osqukcpZavhBtx6EX2w6w6EI8CP +bwiTHJH02rAi0Dd7E5g02DNlVDHvVxD6aMdnMp+1qbucLkzntlVZ9CO/0AhcF2LFphO hBDZp8hdGuTZJi5rcJNPNpbY+zJ+uPaOpa7YBq7OhVaED/NnG1FUg56Zd22KONi2VZgr Hq1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aI9TlIjX; 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 b26si2139744eds.574.2021.03.12.03.08.53; Fri, 12 Mar 2021 03:08:53 -0800 (PST) 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=aI9TlIjX; 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 S233919AbhCLLIS (ORCPT + 6 others); Fri, 12 Mar 2021 06:08:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233835AbhCLLIJ (ORCPT ); Fri, 12 Mar 2021 06:08:09 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 755B2C061761 for ; Fri, 12 Mar 2021 03:08:09 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id j7so1541433wrd.1 for ; Fri, 12 Mar 2021 03:08:09 -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=THhKmywjPm3PSEVsHRgJ9yFTX2Li2LH1I2Fys+RHMbE=; b=aI9TlIjXysV5NO5te1tQfH8c+2PYDCD+Wy2lUjD3kFpYtm+upwffmJQd8DgW07vrbr +BTTPocgGko+6YTXpPeBwfl5snKyLMHh2nzaNfAlNa3w0J5zzBlsnUc+14WDH/5t7ALA P7LS2kOqbTapoK/3V9vkIt2tU5dosgbbtl5iiI2atOR4Cw2JE+6VHEYNY+hmFtR7bQ16 TKX/zrYPKiybQfjV8jE223NJVJSd6+D8NlCbnEVlRClDQ5p/zOwgasZSbzIsoUAsg53X v9MPwpz1ECsSifRsUrWfUtml5EHjeYiW+cd1L6S0E//fscpnPXtkxVikp9CeAyZeIWau N1Hg== 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=THhKmywjPm3PSEVsHRgJ9yFTX2Li2LH1I2Fys+RHMbE=; b=sTXQLhrYgS125Cg7Zy7Tfm4QV0koFIWXv05VQG6BpmiIgj1UByljCs783U9ht7VBAb 254MsYiNIunl3btak2pIHB094UovzvKrA80gVa5TmPu1xJO+ihJopnpLLZ5ooc7N+a89 vFNcvXlEYd/CLPujIdKJG+EpgRnFud3j4Mlk8SNvfVSfbc7H3CyTNLeN+4P7hfhP0kLk ELTSnF96uokbXgcPEKi8ODcwwHOtaKckiWpe9FpSWkhJVQGBgb/LXQZpGMreJ3myECEh k3P7q+t4hsKmaVy/J6a33xy7WCGFWH5C6Xbo3qjrKir+z0VI4aL3oDbYXZ/Ja+amnh7l Licg== X-Gm-Message-State: AOAM531iRkVKujLcG8TexDkbB5oMUVcBniBDXW/U8FsBOi9LOuhJeGpw J4iACF0KPtw8vHA1/0iHEpZ0ag== X-Received: by 2002:adf:a18a:: with SMTP id u10mr13500935wru.197.1615547288130; Fri, 12 Mar 2021 03:08:08 -0800 (PST) Received: from dell.default ([91.110.221.204]) by smtp.gmail.com with ESMTPSA id f126sm1813003wmf.17.2021.03.12.03.08.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 03:08:07 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Rob Herring , Frank Rowand , benh@kernel.crashing.org, devicetree@vger.kernel.org Subject: [PATCH 07/10] of: fdt: Demote kernel-doc abuses Date: Fri, 12 Mar 2021 11:07:55 +0000 Message-Id: <20210312110758.2220959-8-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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/of/fdt.c:478: warning: Function parameter or member 'node' not described in '__reserved_mem_reserve_reg' drivers/of/fdt.c:478: warning: Function parameter or member 'uname' not described in '__reserved_mem_reserve_reg' drivers/of/fdt.c:525: warning: Function parameter or member 'node' not described in '__reserved_mem_check_root' drivers/of/fdt.c:547: warning: Function parameter or member 'node' not described in '__fdt_scan_reserved_mem' drivers/of/fdt.c:547: warning: Function parameter or member 'uname' not described in '__fdt_scan_reserved_mem' drivers/of/fdt.c:547: warning: Function parameter or member 'depth' not described in '__fdt_scan_reserved_mem' drivers/of/fdt.c:547: warning: Function parameter or member 'data' not described in '__fdt_scan_reserved_mem' drivers/of/fdt.c:547: warning: expecting prototype for fdt_scan_reserved_mem(). Prototype was for __fdt_scan_reserved_mem() instead drivers/of/fdt.c:663: warning: Function parameter or member 'parent' not described in 'of_scan_flat_dt_subnodes' drivers/of/fdt.c:708: warning: Function parameter or member 'node' not described in 'of_get_flat_dt_prop' drivers/of/fdt.c:708: warning: Function parameter or member 'name' not described in 'of_get_flat_dt_prop' drivers/of/fdt.c:708: warning: Function parameter or member 'size' not described in 'of_get_flat_dt_prop' drivers/of/fdt.c:758: warning: Function parameter or member 'node' not described in 'of_flat_dt_match' drivers/of/fdt.c:758: warning: Function parameter or member 'compat' not described in 'of_flat_dt_match' drivers/of/fdt.c:778: warning: Function parameter or member 'node' not described in 'of_get_flat_dt_phandle' drivers/of/fdt.c:778: warning: expecting prototype for of_get_flat_dt_prop(). Prototype was for of_get_flat_dt_phandle() instead drivers/of/fdt.c:955: warning: Function parameter or member 'node' not described in 'early_init_dt_scan_root' drivers/of/fdt.c:955: warning: Function parameter or member 'uname' not described in 'early_init_dt_scan_root' drivers/of/fdt.c:955: warning: Function parameter or member 'depth' not described in 'early_init_dt_scan_root' drivers/of/fdt.c:955: warning: Function parameter or member 'data' not described in 'early_init_dt_scan_root' drivers/of/fdt.c:991: warning: Function parameter or member 'node' not described in 'early_init_dt_scan_memory' drivers/of/fdt.c:991: warning: Function parameter or member 'uname' not described in 'early_init_dt_scan_memory' drivers/of/fdt.c:991: warning: Function parameter or member 'depth' not described in 'early_init_dt_scan_memory' drivers/of/fdt.c:991: warning: Function parameter or member 'data' not described in 'early_init_dt_scan_memory' Cc: Rob Herring Cc: Frank Rowand Cc: benh@kernel.crashing.org Cc: devicetree@vger.kernel.org Signed-off-by: Lee Jones --- drivers/of/fdt.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) -- 2.27.0 diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index dcc1dd96911a9..1fb3348eb9516 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c @@ -470,7 +470,7 @@ void *initial_boot_params __ro_after_init; static u32 of_fdt_crc32; -/** +/* * __reserved_mem_reserve_reg() - reserve all memory described in 'reg' property */ static int __init __reserved_mem_reserve_reg(unsigned long node, @@ -516,7 +516,7 @@ static int __init __reserved_mem_reserve_reg(unsigned long node, return 0; } -/** +/* * __reserved_mem_check_root() - check if #size-cells, #address-cells provided * in /reserved-memory matches the values supported by the current implementation, * also check if ranges property has been provided @@ -539,7 +539,7 @@ static int __init __reserved_mem_check_root(unsigned long node) return 0; } -/** +/* * fdt_scan_reserved_mem() - scan a single FDT node for reserved memory */ static int __init __fdt_scan_reserved_mem(unsigned long node, const char *uname, @@ -650,6 +650,7 @@ int __init of_scan_flat_dt(int (*it)(unsigned long node, /** * of_scan_flat_dt_subnodes - scan sub-nodes of a node call callback on each. + * @parent: parent node * @it: callback function * @data: context data pointer * @@ -689,7 +690,7 @@ int __init of_get_flat_dt_subnode_by_name(unsigned long node, const char *uname) return fdt_subnode_offset(initial_boot_params, node, uname); } -/** +/* * of_get_flat_dt_root - find the root node in the flat blob */ unsigned long __init of_get_flat_dt_root(void) @@ -697,7 +698,7 @@ unsigned long __init of_get_flat_dt_root(void) return 0; } -/** +/* * of_get_flat_dt_prop - Given a node in the flat blob, return the property ptr * * This function can be used within scan_flattened_dt callback to get @@ -751,7 +752,7 @@ int __init of_flat_dt_is_compatible(unsigned long node, const char *compat) return of_fdt_is_compatible(initial_boot_params, node, compat); } -/** +/* * of_flat_dt_match - Return true if node matches a list of compatible values */ static int __init of_flat_dt_match(unsigned long node, const char *const *compat) @@ -771,7 +772,7 @@ static int __init of_flat_dt_match(unsigned long node, const char *const *compat return score; } -/** +/* * of_get_flat_dt_prop - Given a node in the flat blob, return the phandle */ uint32_t __init of_get_flat_dt_phandle(unsigned long node) @@ -947,7 +948,7 @@ int __init early_init_dt_scan_chosen_stdout(void) } #endif -/** +/* * early_init_dt_scan_root - fetch the top level address and size cells */ int __init early_init_dt_scan_root(unsigned long node, const char *uname, @@ -983,7 +984,7 @@ u64 __init dt_mem_next_cell(int s, const __be32 **cellp) return of_read_number(p, s); } -/** +/* * early_init_dt_scan_memory - Look for and parse memory nodes */ int __init early_init_dt_scan_memory(unsigned long node, const char *uname,