From patchwork Fri Mar 12 11:07:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 398561 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1098952jai; Fri, 12 Mar 2021 03:08:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJzCKZB0dOwPKCT9w3Ub92j8/MWEe0Dtk369oD4TDZkf1gAphqVDfQQ9qHmuUqBklTuW6xjn X-Received: by 2002:a17:906:3409:: with SMTP id c9mr7796382ejb.314.1615547336981; Fri, 12 Mar 2021 03:08:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615547336; cv=none; d=google.com; s=arc-20160816; b=cm7vTmgLpsDP74BX9OG7zDeo1ybrze7vWqLHBVGn3Lxfgdc47IdA1o3eSfKdElYm2b w5TGZqbq+5NbTyFi6qOb+ucefSnCbpIZd3GzIfZgaQk0ZtYcgwEEiA/G5HWt5OBCmRrg uRdwzWujQaGzxYuqH59xjEhAlAJyNqAj1vrn8Jmh5+zuA9T2nLtZAPvh+KFUB8QpXl7o EkL8cQLgcHKtv5BtvJ055b2+aEZjPj1/GTMOQR3wyT1yBgjQZA67yDb5G/R8lM4E2kE0 RF50oKKGS9ZKF2fe6lKynD4flBUiR+49Haq1TgL/jt57AD7DjT8RC+z7r2eBdQI0V0UW DxXQ== 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=h5iCVi3kGcdP7GfFug+7AAOmAXys2cxySqnBTCX8/Wo=; b=Bd3dXwDMcrvAcVl52PtOrpTLXcxAEhjrh0jsKSuktaFvrfKS0Ncsu8RCyEzKVX8Obq KkG/QE9nRWkBV3ax0hb4kGWWfXTpRwmQwhWUW/UU97zP3Lp3KkZkRW4mN2aend1ypins +jYJHq6Pc4ShxIeAdS6KA31hS0iUYNGxkk9vRDPUQR/gkvckzHGx3MH8evB5LjnLr65F 2xU2HeGyzqO7zibN0DqbfGsAI+XnkQtT+HP57mh04ifDMPEWTU3gK4VEA496Q0dlw3EI XC6C25d6uPPUzq7hVfc58o64cyLjBFnUPq2E4PdmleKPptefxOz2k2or89MYeie8hzMb CWkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="MiZ/wksg"; 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.56; Fri, 12 Mar 2021 03:08:56 -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="MiZ/wksg"; 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 S233897AbhCLLIP (ORCPT + 6 others); Fri, 12 Mar 2021 06:08:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233761AbhCLLIE (ORCPT ); Fri, 12 Mar 2021 06:08:04 -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 051CFC061761 for ; Fri, 12 Mar 2021 03:08:04 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id k8so1538598wrc.3 for ; Fri, 12 Mar 2021 03:08:03 -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=h5iCVi3kGcdP7GfFug+7AAOmAXys2cxySqnBTCX8/Wo=; b=MiZ/wksgjgzrYq05xxSVqsr6IYVhuJu6Ohdsuz+m4EwHwmcD8iTbvBFUhbGR1MJDpd rCOvFEoVBZNa8258gbc16/z8Ol1lcno9gqt6HkgXSE9wVlZbwWJgV17ZGIaJD5RLLoxP 8O4QdSH8bMzq6LyiF9Fu2q9zFeZt45BWnu1kzkq6U2luPrTVN3s0U228i+uxOjkUEMqf M1PQ7YcNY93XjjJM7a+FLbZshl2JBoZcKp9QwfaU/4zlHyIj/fZNsway0u43AoncVEKW N2DGEiJh1hBznIIbsbtWUz234sT6sHlWsCAzAZilKG6hBkRt/HESoBkDMlwURgst+dF0 RqOg== 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=h5iCVi3kGcdP7GfFug+7AAOmAXys2cxySqnBTCX8/Wo=; b=kY/fqH8FjgRjQwT1guAIP/t8loLx84jeJ0Q5AnR/13T4w4IFB4nL5vt5xgZrPKLtRH NUSkut5zB24h+QNTmjBH+MV+OlnM7HpKMVAN/uDEuoL8IOQH9auE8Z71djTSvHL+1wRA MqcH6S4Y21eWGrZcOsqx/4pTa7gwQK74mHUnrWMcavi+ygv0Z0iJb1+mWGUBp9+aZxLo sLNcckUTZyg1B1eGrp0V7sj5WnocgwYh/emHlsy1441aMm7AsmoS/0BvOW9Qb+HIFKbv OAXpcpbgwq/TYmPyCRRY9OmCd1Heevz3bpzaEoeDCVKdzO+CmDxCNpR5lABJyOU1aYT9 xqCQ== X-Gm-Message-State: AOAM5311Lpidd9FdFt1C2owtGpE7V5fnXDRuq7SwQIZSricrZlJLOALr 3NJan1ZYoCCZPw68sDLB++uTWg== X-Received: by 2002:adf:ef4a:: with SMTP id c10mr13109500wrp.427.1615547282654; Fri, 12 Mar 2021 03:08:02 -0800 (PST) Received: from dell.default ([91.110.221.204]) by smtp.gmail.com with ESMTPSA id f126sm1813003wmf.17.2021.03.12.03.08.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 03:08:02 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Rob Herring , Frank Rowand , devicetree@vger.kernel.org Subject: [PATCH 01/10] of: device: Fix function name in header and demote kernel-doc abuse Date: Fri, 12 Mar 2021 11:07:49 +0000 Message-Id: <20210312110758.2220959-2-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/device.c:72: warning: expecting prototype for of_dma_configure(). Prototype was for of_dma_configure_id() instead drivers/of/device.c:263: warning: Function parameter or member 'dev' not described in 'of_device_modalias' drivers/of/device.c:263: warning: Function parameter or member 'str' not described in 'of_device_modalias' drivers/of/device.c:263: warning: Function parameter or member 'len' not described in 'of_device_modalias' drivers/of/device.c:280: warning: Function parameter or member 'dev' not described in 'of_device_uevent' drivers/of/device.c:280: warning: Function parameter or member 'env' not described in 'of_device_uevent' Cc: Rob Herring Cc: Frank Rowand Cc: devicetree@vger.kernel.org Signed-off-by: Lee Jones --- drivers/of/device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.27.0 diff --git a/drivers/of/device.c b/drivers/of/device.c index 6cb86de404f1c..64ee363abde24 100644 --- a/drivers/of/device.c +++ b/drivers/of/device.c @@ -53,7 +53,7 @@ int of_device_add(struct platform_device *ofdev) } /** - * of_dma_configure - Setup DMA configuration + * of_dma_configure_id - Setup DMA configuration * @dev: Device to apply DMA configuration * @np: Pointer to OF node having DMA configuration * @force_dma: Whether device is to be set up by of_dma_configure() even if @@ -256,7 +256,7 @@ int of_device_request_module(struct device *dev) } EXPORT_SYMBOL_GPL(of_device_request_module); -/** +/* * of_device_modalias - Fill buffer with newline terminated modalias string */ ssize_t of_device_modalias(struct device *dev, char *str, ssize_t len) @@ -273,7 +273,7 @@ ssize_t of_device_modalias(struct device *dev, char *str, ssize_t len) } EXPORT_SYMBOL_GPL(of_device_modalias); -/** +/* * of_device_uevent - Display OF related uevent information */ void of_device_uevent(struct device *dev, struct kobj_uevent_env *env)