Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp649786pxb; Thu, 19 Nov 2020 10:12:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJzBMeIH1l216LUuSZlBLZs5yUiMMtu7tjvTchvY+EWUMfl6ZFjpPcSaqDM0SSb+AAOq9qmP X-Received: by 2002:a17:906:3644:: with SMTP id r4mr29429649ejb.517.1605809562873; Thu, 19 Nov 2020 10:12:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605809562; cv=none; d=google.com; s=arc-20160816; b=DWDWR/5xaUBWK//CDWSld9Q4iKyKG3GT1YZmpIsZGmJfeTolTWAKUxLkMEKYa8Wv+g EAhR5kKpAD9ESFMP1Kue62zTXhJRjm5SxMjmp9OjluzQbHwJjEggkBPE4jiNcEA25mFI urQ1JDaIQQe7QJwZWtIsKSLmIKSwEItyZwjb1EAli7kA5W4/HWkUgmx1SpS/jrMymD7x zwagKQ3r6lDUBpVA0Sl4qJtKTSeGmsQhnuA/YwzgunCXSLpzqp3QXKC8q/+QBY+2hmOm DqqmQtEFQ74xCw+dB+/jeAkMk5CsAm9WKzGP+mhnLlqTxK2uHk/TMGFzA43a/4IpJhWS bKLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=PeOqGGThn+78bJy5bPA9+LcZ/RLNc6KmIawYlCgv9tU=; b=Gwat8XgocLV4/7sVQRU0x1D2hP4tIqyX+hy83NcXwv6NtVPzp4+GxelZRTNuD7nM9d l9zIEdo6FLOYWHLyX0YLz0EG9v6GJomreacyUeoTLkv8KZnHa4DmLt86DQbB+RAAWPTE d4MWgU7cv96qVF7akV1LxKMkzAEHgprKpNNL3Y1KurW2JGIwdrzjcycZrNsWPJcrCx/M FXyG/ZrRhBHoZY9gZ123AIKMTWyasWSWE1HPURNTxFmbYYO8g83QGvXhHSuSHnfksH7d Wiy7WHk/chLj5kBT39vezyWxyTM1jWXgu1n09v/zbr/tPIAEnChzLy2iDLOprjvbVi4N QqVQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y10si281487ejq.401.2020.11.19.10.12.19; Thu, 19 Nov 2020 10:12:42 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729264AbgKSSJ5 (ORCPT + 99 others); Thu, 19 Nov 2020 13:09:57 -0500 Received: from foss.arm.com ([217.140.110.172]:36786 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727211AbgKSSJ4 (ORCPT ); Thu, 19 Nov 2020 13:09:56 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0D1E81396; Thu, 19 Nov 2020 10:09:56 -0800 (PST) Received: from e121166-lin.cambridge.arm.com (e121166-lin.cambridge.arm.com [10.1.196.255]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 94C0B3F70D; Thu, 19 Nov 2020 10:09:54 -0800 (PST) Date: Thu, 19 Nov 2020 18:09:48 +0000 From: Lorenzo Pieralisi To: Catalin Marinas Cc: Shiju Jose , linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, guohanjun@huawei.com, sudeep.holla@arm.com, rjw@rjwysocki.net, lenb@kernel.org, linuxarm@huawei.com, Will Deacon Subject: Re: [PATCH 1/1] ACPI/IORT: Fix doc warnings in iort.c Message-ID: <20201119180948.GA25181@e121166-lin.cambridge.arm.com> References: <20201014093139.1580-1-shiju.jose@huawei.com> <20201119180120.GA25142@e121166-lin.cambridge.arm.com> <20201119180346.GI4376@gaia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201119180346.GI4376@gaia> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 19, 2020 at 06:03:47PM +0000, Catalin Marinas wrote: > On Thu, Nov 19, 2020 at 06:01:20PM +0000, Lorenzo Pieralisi wrote: > > [+Catalin - I hope it can go via arm64 tree, trivial doc fixup] > > Or Will if you want it in 5.10, otherwise I can pick it up for 5.11. Thanks, not really urgent so I am not sure it can make the cut for an -rc5+, either way is fine. Thanks ! Lorenzo > > On Wed, Oct 14, 2020 at 10:31:39AM +0100, Shiju Jose wrote: > > > Fix following warnings caused by mismatch between > > > function parameters and function comments. > > > > > > drivers/acpi/arm64/iort.c:55: warning: Function parameter or member 'iort_node' not described in 'iort_set_fwnode' > > > drivers/acpi/arm64/iort.c:55: warning: Excess function parameter 'node' description in 'iort_set_fwnode' > > > drivers/acpi/arm64/iort.c:682: warning: Function parameter or member 'id' not described in 'iort_get_device_domain' > > > drivers/acpi/arm64/iort.c:682: warning: Function parameter or member 'bus_token' not described in 'iort_get_device_domain' > > > drivers/acpi/arm64/iort.c:682: warning: Excess function parameter 'req_id' description in 'iort_get_device_domain' > > > drivers/acpi/arm64/iort.c:1142: warning: Function parameter or member 'dma_size' not described in 'iort_dma_setup' > > > drivers/acpi/arm64/iort.c:1142: warning: Excess function parameter 'size' description in 'iort_dma_setup' > > > drivers/acpi/arm64/iort.c:1534: warning: Function parameter or member 'ops' not described in 'iort_add_platform_device' > > > > > > Signed-off-by: Shiju Jose > > > --- > > > drivers/acpi/arm64/iort.c | 8 +++++--- > > > 1 file changed, 5 insertions(+), 3 deletions(-) > > > > Acked-by: Lorenzo Pieralisi > > > > > diff --git a/drivers/acpi/arm64/iort.c b/drivers/acpi/arm64/iort.c > > > index 9929ff50c0c0..770d84071a32 100644 > > > --- a/drivers/acpi/arm64/iort.c > > > +++ b/drivers/acpi/arm64/iort.c > > > @@ -44,7 +44,7 @@ static DEFINE_SPINLOCK(iort_fwnode_lock); > > > * iort_set_fwnode() - Create iort_fwnode and use it to register > > > * iommu data in the iort_fwnode_list > > > * > > > - * @node: IORT table node associated with the IOMMU > > > + * @iort_node: IORT table node associated with the IOMMU > > > * @fwnode: fwnode associated with the IORT node > > > * > > > * Returns: 0 on success > > > @@ -673,7 +673,8 @@ static int iort_dev_find_its_id(struct device *dev, u32 id, > > > /** > > > * iort_get_device_domain() - Find MSI domain related to a device > > > * @dev: The device. > > > - * @req_id: Requester ID for the device. > > > + * @id: Requester ID for the device. > > > + * @bus_token: irq domain bus token. > > > * > > > * Returns: the MSI domain for this device, NULL otherwise > > > */ > > > @@ -1136,7 +1137,7 @@ static int rc_dma_get_range(struct device *dev, u64 *size) > > > * > > > * @dev: device to configure > > > * @dma_addr: device DMA address result pointer > > > - * @size: DMA range size result pointer > > > + * @dma_size: DMA range size result pointer > > > */ > > > void iort_dma_setup(struct device *dev, u64 *dma_addr, u64 *dma_size) > > > { > > > @@ -1526,6 +1527,7 @@ static __init const struct iort_dev_config *iort_get_dev_cfg( > > > /** > > > * iort_add_platform_device() - Allocate a platform device for IORT node > > > * @node: Pointer to device ACPI IORT node > > > + * @ops: Pointer to IORT device config struct > > > * > > > * Returns: 0 on success, <0 failure > > > */ > > > -- > > > 2.17.1