linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ACPI: scan: Fix acpi_dma_configure_id() kerneldoc name
@ 2020-11-02 11:19 John Garry
  2020-11-02 12:49 ` Lorenzo Pieralisi
  2020-11-09 18:06 ` Rafael J. Wysocki
  0 siblings, 2 replies; 3+ messages in thread
From: John Garry @ 2020-11-02 11:19 UTC (permalink / raw)
  To: rjw, lenb; +Cc: lorenzo.pieralisi, linux-kernel, linux-acpi, John Garry

For some reason building with W=1 doesn't pick up on this, but the
kerneldoc name for acpi_dma_configure_id() is not right, so fix it up.

Signed-off-by: John Garry <john.garry@huawei.com>

diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index a896e5e87c93..bc6a79e33220 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -1453,7 +1453,7 @@ int acpi_dma_get_range(struct device *dev, u64 *dma_addr, u64 *offset,
 }
 
 /**
- * acpi_dma_configure - Set-up DMA configuration for the device.
+ * acpi_dma_configure_id - Set-up DMA configuration for the device.
  * @dev: The pointer to the device
  * @attr: device dma attributes
  * @input_id: input device id const value pointer
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ACPI: scan: Fix acpi_dma_configure_id() kerneldoc name
  2020-11-02 11:19 [PATCH] ACPI: scan: Fix acpi_dma_configure_id() kerneldoc name John Garry
@ 2020-11-02 12:49 ` Lorenzo Pieralisi
  2020-11-09 18:06 ` Rafael J. Wysocki
  1 sibling, 0 replies; 3+ messages in thread
From: Lorenzo Pieralisi @ 2020-11-02 12:49 UTC (permalink / raw)
  To: John Garry; +Cc: rjw, lenb, linux-kernel, linux-acpi

On Mon, Nov 02, 2020 at 07:19:31PM +0800, John Garry wrote:
> For some reason building with W=1 doesn't pick up on this, but the
> kerneldoc name for acpi_dma_configure_id() is not right, so fix it up.
> 
> Signed-off-by: John Garry <john.garry@huawei.com>
> 
> diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
> index a896e5e87c93..bc6a79e33220 100644
> --- a/drivers/acpi/scan.c
> +++ b/drivers/acpi/scan.c

Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>

> @@ -1453,7 +1453,7 @@ int acpi_dma_get_range(struct device *dev, u64 *dma_addr, u64 *offset,
>  }
>  
>  /**
> - * acpi_dma_configure - Set-up DMA configuration for the device.
> + * acpi_dma_configure_id - Set-up DMA configuration for the device.
>   * @dev: The pointer to the device
>   * @attr: device dma attributes
>   * @input_id: input device id const value pointer
> -- 
> 2.26.2
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ACPI: scan: Fix acpi_dma_configure_id() kerneldoc name
  2020-11-02 11:19 [PATCH] ACPI: scan: Fix acpi_dma_configure_id() kerneldoc name John Garry
  2020-11-02 12:49 ` Lorenzo Pieralisi
@ 2020-11-09 18:06 ` Rafael J. Wysocki
  1 sibling, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2020-11-09 18:06 UTC (permalink / raw)
  To: John Garry
  Cc: Rafael J. Wysocki, Len Brown, Lorenzo Pieralisi,
	Linux Kernel Mailing List, ACPI Devel Maling List

On Mon, Nov 2, 2020 at 12:23 PM John Garry <john.garry@huawei.com> wrote:
>
> For some reason building with W=1 doesn't pick up on this, but the
> kerneldoc name for acpi_dma_configure_id() is not right, so fix it up.
>
> Signed-off-by: John Garry <john.garry@huawei.com>
>
> diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
> index a896e5e87c93..bc6a79e33220 100644
> --- a/drivers/acpi/scan.c
> +++ b/drivers/acpi/scan.c
> @@ -1453,7 +1453,7 @@ int acpi_dma_get_range(struct device *dev, u64 *dma_addr, u64 *offset,
>  }
>
>  /**
> - * acpi_dma_configure - Set-up DMA configuration for the device.
> + * acpi_dma_configure_id - Set-up DMA configuration for the device.
>   * @dev: The pointer to the device
>   * @attr: device dma attributes
>   * @input_id: input device id const value pointer
> --

Applied as 5.10-rc material, thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-09 18:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-02 11:19 [PATCH] ACPI: scan: Fix acpi_dma_configure_id() kerneldoc name John Garry
2020-11-02 12:49 ` Lorenzo Pieralisi
2020-11-09 18:06 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).