From patchwork Thu Mar 18 10:40:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 403962 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp356754jai; Thu, 18 Mar 2021 03:41:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQrLNaAJCkCwbyltBgJpYt3ptZe/kRHLCe7l11huODQ9kO/P/X3l+xjjLilxauIFQER9mt X-Received: by 2002:aa7:c916:: with SMTP id b22mr2814747edt.299.1616064096349; Thu, 18 Mar 2021 03:41:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616064096; cv=none; d=google.com; s=arc-20160816; b=wbzg9/kKCouU+XmgQEaFZaaRYt2I81cOOPrkQc976WYfzHYq9itZ2A4Z8OFE0mqdOM URbEcz1l+2pIaB+2sZdHlLYcF7V10o8YRf7jcuVh6vNkwMw6QZRzqn68tO6lRx+2UtsV tB+fEqOQThIfykf14PML68uuHBP2SOAocz5VUNtBPZImpP59yX+yp/Wt54gszCAq0/Fq /dqhCSbbE7tLzjVOhFEmm6g1m62hXp679MMD8xivfb8tfM5dDjsowZ5RIQBd2IdgRNZ1 peC8YLZXWATkKn2za9HvYhT8CDsy7deqyYNH1ASqZCyLRK8xpmbpGJy0gZYekGk0g8WB Prng== 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=1tEtqfwOT8tRZ9fytdoNTk6qtPKeMjP57sn7aBTbcvY=; b=AYzx8ag3t+loQh3ICsIKQvegGYq48EkUSkPBXvMcqpTjnsW4jukHjGOmdIqUU4n659 9SDBJ0Bw80alBk3WzXlsFy/8s50txhcIApN6LHhkarn0H/3YPI0iXVTaTgtL45EGwMKZ QlbXX8vbjsMMcfQHzJnITQ8vcSSeRe3PnjQGwbwFH4ooz9NEXIBzBWYFKZO3hKY0/11n ozJVFLfYqk2HBmwy2B91nzCPXh3iSO2I1JXDTRGurTIefSjGzepHfdkV2Osn0iKKxol7 VzOJGzOCffuSGMliQdiwNZyREEVfEZswxj6CqWDLxuxxNs9kChsmNz2QW98PCShYQsO2 7MkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TBI1ujph; 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.36; Thu, 18 Mar 2021 03:41:36 -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=TBI1ujph; 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 S230263AbhCRKlC (ORCPT + 6 others); Thu, 18 Mar 2021 06:41:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230218AbhCRKkq (ORCPT ); Thu, 18 Mar 2021 06:40:46 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C6AAC06174A for ; Thu, 18 Mar 2021 03:40:46 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id x13so4956626wrs.9 for ; Thu, 18 Mar 2021 03:40:46 -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=1tEtqfwOT8tRZ9fytdoNTk6qtPKeMjP57sn7aBTbcvY=; b=TBI1ujphYCROOuN2IGHeqLZfcbf6KaQWLfajxnq9SCUdvYO9iPY2o0LiqFSfmSQ9Ql 6bMjy/Sm9mueCSJr2bWsg75dXG9XIMnxgYBiEQUFbpSG3y8DGI8NudQvBtdfjQhuDvng BVvbYOFNGWUoanC/VkrYNk2IDFJHjyhJkryajzdxM+z2v2gOpgmuwgvIweZ6+2zeA6fa NLdFNBi75WhvLVWRwYlS7aI22rJCpvjmuJ65mqjVEL0r+MchSpxieyNM8NFGWURuXzXE G1i1tiMaKvrLAS8ns84rr8v74hdGh9iWc1m3tQXHEkaKi5DbguxiqvdiFocllQnvtqs9 Yjpw== 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=1tEtqfwOT8tRZ9fytdoNTk6qtPKeMjP57sn7aBTbcvY=; b=Du4n3R+ncDWZdsPF68+RPFee79M2ZCSR/Cp2jC98R4jIosI+vvvmUm4OtoWAAjXOKI J3LYINNVEMq2TdRvZ9erA+PxKVYCaNdcWS6MPyv+9ENfuxEpHkQRKeBOkDMb1PGM9cxV b2SofPDPVnoPNttgFFg2yRPKQveIaaKQwwBk+3vC5nJH4/PtATmphurpURiShXlL49lC 2KqPNtddurxv25TIFF0IwMhyosPugTb1ExPZLqO67UViwNfhYJe2bwrUHTWXeynef5xo M3uzlBNUhiTtZ57DOXWS6Fq+7U2XNERXVc6F+M44sMx1cPvevgtM9F8loSqMDpV04Gkj pt5g== X-Gm-Message-State: AOAM531XXp6Wb3zheBdxBH4GZlCrAp+b8ZkRLVEpvrLufdFpmI13D4vg akUXxUwQ3pe9UKDZix9bWXZRfw== X-Received: by 2002:adf:fcc9:: with SMTP id f9mr8989118wrs.420.1616064045253; Thu, 18 Mar 2021 03:40:45 -0700 (PDT) Received: from dell.default ([91.110.221.194]) by smtp.gmail.com with ESMTPSA id z1sm2426033wru.95.2021.03.18.03.40.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Mar 2021 03:40:44 -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 01/10] of: device: Fix function name in header and provide missing descriptions Date: Thu, 18 Mar 2021 10:40:27 +0000 Message-Id: <20210318104036.3175910-2-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/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 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -- 2.27.0 diff --git a/drivers/of/device.c b/drivers/of/device.c index 6cb86de404f1c..c5a9473a5fb1a 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 @@ -258,6 +258,9 @@ EXPORT_SYMBOL_GPL(of_device_request_module); /** * of_device_modalias - Fill buffer with newline terminated modalias string + * @dev: Calling device + * @str: Modalias string + * @len: Size of @str */ ssize_t of_device_modalias(struct device *dev, char *str, ssize_t len) { @@ -275,6 +278,8 @@ EXPORT_SYMBOL_GPL(of_device_modalias); /** * of_device_uevent - Display OF related uevent information + * @dev: Device to apply DMA configuration + * @env: Kernel object's userspace event reference */ void of_device_uevent(struct device *dev, struct kobj_uevent_env *env) {