Skip to contentSkip to conversation

ACPI: scan: Fix acpi_dma_configure_id() kerneldoc name

PATCH Applied John Garry 3 participants 3 messages Nov 2, 2020 – Nov 9, 2020 ACPI

lore
Share & tools
lore

John Garry

author
#0 lore raw

PATCH 1/1 ACPI: scan: Fix acpi_dma_configure_id() kerneldoc name

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.

drivers/acpi/scan.c +1 -1
index a896e5e87c93..bc6a79e33220 100644
@@ -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
Signature · 1 line
2.26.2
Acked-by on v1 1/1
#1 lore raw

drivers/acpi/scan.c

Quoted 9 lines · 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.

drivers/acpi/scan.c +0 -0
index a896e5e87c93..bc6a79e33220 100644
Quoted 12 lines
drivers/acpi/scan.c +1 -1
@@ -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
Signature · 1 line
2.26.2
maintainer Applied
#2 lore raw
In reply to John Garry
Quoted 11 lines · 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.

drivers/acpi/scan.c +0 -0
index a896e5e87c93..bc6a79e33220 100644

drivers/acpi/scan.c int acpi_dma_get_range(struct device *dev, u64 *dma_addr, u64 *offset,

Quoted 9 lines
drivers/acpi/scan.c +1 -2
@@ -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!