diff mbox series

ACPI: scan: Fix acpi_dma_configure_id() kerneldoc name

Message ID 1604315971-89149-1-git-send-email-john.garry@huawei.com (mailing list archive)
State Mainlined, archived
Headers show
Series ACPI: scan: Fix acpi_dma_configure_id() kerneldoc name | expand

Commit Message

John Garry Nov. 2, 2020, 11:19 a.m. UTC
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>

Comments

Lorenzo Pieralisi Nov. 2, 2020, 12:49 p.m. UTC | #1
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
>
Rafael J. Wysocki Nov. 9, 2020, 6:06 p.m. UTC | #2
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!
diff mbox series

Patch

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