Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1324413pxf; Fri, 12 Mar 2021 07:10:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7dOdeT4dOpt60LGaWOxoEjH7X4EajTjAK81pbBFUfr6cxV05AKG6jz6JxE+H1vdzjBOMu X-Received: by 2002:a05:6402:142:: with SMTP id s2mr14625502edu.2.1615561851942; Fri, 12 Mar 2021 07:10:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615561851; cv=none; d=google.com; s=arc-20160816; b=Cs1JeTNhYqA535tvtYJaX2F/R554VY6bVMCZgxtEaaFDXJCzCc4hvP16fS8Uzgb4+s c7ud6wzAD5rBbOo6y7GaNkWhlt5EJEcqRozuEDDdcunBsrRknOTPiUbnX2k7cPrhqNww sSJAvHR5re67ShBwVtom00rkT6krQcLNPbTsPJOTCgp673nlJmiqp3dPvzguZ0NckYl7 S84muaFob8VQka8/dfMhcqn2gIR3L2FP1HTEuY58O+dNJ1HT39VDoC6Qm8YISyXd3nmE HFMVXznHxLTMcgOUGXDFs42AbSVJbGj5qQMnuwGUJPKfqA/84m8aIeA6Bkg6cmpH0nD+ hr0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=5jecNBLWO3Om52c7o+pFRseLbBzmDja9UePjfGhjtNI=; b=OEgDoznG/NVR+zOFbdtTGrh1yeiT53ZI0eaV4JFONbbVAjV7LiNZgBAzUwH1KW2ZhM untEUnk5SkRTsuVBo4YJWb2H+FxPgcFv6vNlbYQ65aBXfcaBfQ7HXxPbveZXr45dccqY yuQw/41WZtwrhXZ0umdWqGur5U8y8BTj+MiYbo7sAhuDHNrzz4x41wuRWHdNK1L0GBHJ K1iGuyOiMcT3XneYspOxytGlFNMicyAkEk/WTqsfXNkkZjUOKcGyVpCQnLHebNRjKCX6 A2qNUOoS1FYzXIGelTbLE30+KwWMb54wOnopCsaSWtQaiu5aD5XmRzQjtGFCpJr0GHLm 6x5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="a/iuLFYL"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 m9si4405630edl.120.2021.03.12.07.10.21; Fri, 12 Mar 2021 07:10:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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="a/iuLFYL"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S232182AbhCLPHT (ORCPT + 99 others); Fri, 12 Mar 2021 10:07:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231876AbhCLPHM (ORCPT ); Fri, 12 Mar 2021 10:07:12 -0500 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF86AC061574 for ; Fri, 12 Mar 2021 07:07:11 -0800 (PST) Received: by mail-wr1-x42b.google.com with SMTP id o14so1190530wrm.11 for ; Fri, 12 Mar 2021 07:07:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=5jecNBLWO3Om52c7o+pFRseLbBzmDja9UePjfGhjtNI=; b=a/iuLFYLmN3dewGU/051O0Lz7KYzvCrpA5NhArFOew/YLQFx2jXFWvRFqO8WadwNc7 EONeKQEG7lse3Udi3Cjbrmk1pYu1+BY/WUTJLVJBocHjL875D75LRwrfRWFtozbMNtkE uSZYbJkJEu8N6spYT+fSASxHydL62FkJ4EL1qF/RBlH5dPypvvq0tjlSTXkgTmNIUYln cBAuKNTVmMxCK08yMdPeiLHGT5eKkI3AgEFBCSBDh0+PPDF1tyDZgR3c+qarm3JEnPVw g/DFqUTk27D6UG0/PLIqyCLAuaeucAeiNwZDvvJtE68oMecAVYYxajRwOweBxv3Htfp5 ecCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=5jecNBLWO3Om52c7o+pFRseLbBzmDja9UePjfGhjtNI=; b=o/XCCsHjCca5Jb4b9ftZ3T18fG5NYBZQVbozBuGiLlPSr/ARefeR2H2DrAicOdz9or W/AviYdcJ50dc64HLktfI6DVSjvcUsmkCeQ98PYpG5hRh0zTlHFe49mygQh7ilgU6zV6 qKkYgvuJ58joVFqROdsAOmXOTVZ7oYaOGBdVI1ZhQYeB1c29SNZeGBFcVWZ52jh8OfHm JHKJU7IjYgUmiilkMXzbQdZ/FHy6ReAyQdDGBnH4OCf05GcaL3vCFwI1DPKyVNigWNdI cGMRN0OiTrBb98EN+w5biA2HwIu6MkQOnC52sRihAxpppCQaFSttHBLBboO9NxQ+E5FO 1TUg== X-Gm-Message-State: AOAM533fJw5KeoiBwaZ2+itESqy2EROEy/Pr6tTX9FwVi9AieEowh6Ls WbOkUSxZK3jjnLENwPqZiUj9dQ== X-Received: by 2002:a05:6000:18a3:: with SMTP id b3mr14554191wri.373.1615561630438; Fri, 12 Mar 2021 07:07:10 -0800 (PST) Received: from dell ([91.110.221.204]) by smtp.gmail.com with ESMTPSA id a14sm8765760wrg.84.2021.03.12.07.07.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 07:07:09 -0800 (PST) Date: Fri, 12 Mar 2021 15:07:08 +0000 From: Lee Jones To: Rob Herring Cc: "linux-kernel@vger.kernel.org" , Frank Rowand , devicetree@vger.kernel.org Subject: Re: [PATCH 01/10] of: device: Fix function name in header and demote kernel-doc abuse Message-ID: <20210312150708.GU701493@dell> References: <20210312110758.2220959-1-lee.jones@linaro.org> <20210312110758.2220959-2-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 12 Mar 2021, Rob Herring wrote: > On Fri, Mar 12, 2021 at 4:08 AM Lee Jones wrote: > > > > 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(-) > > > > 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); > > > > -/** > > +/* > > We should fix the kerneldoc on public functions. Demoting is fine on > static or internal to the DT code. This file is not referenced by Kernel-Doc. `git grep kernel-doc:: | grep drivers/of` > > * 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) > > -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog