Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1719611 > unrolled thread
| Started by | Jonathan Corbet <corbet@lwn.net> |
|---|---|
| First post | 2017-08-25 00:10 +0200 |
| Last post | 2017-08-25 01:30 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] driver core: Document struct device:dma_ops Jonathan Corbet <corbet@lwn.net> - 2017-08-25 00:10 +0200
Re: [PATCH] driver core: Document struct device:dma_ops Bart Van Assche <Bart.VanAssche@wdc.com> - 2017-08-25 01:30 +0200
| From | Jonathan Corbet <corbet@lwn.net> |
|---|---|
| Date | 2017-08-25 00:10 +0200 |
| Subject | [PATCH] driver core: Document struct device:dma_ops |
| Message-ID | <ui8u5-41V-13@gated-at.bofh.it> |
Commit 5657933dbb6e (treewide: Move dma_ops from struct dev_archdata into
struct device) added the dma_ops field to struct device, but did not
update the kerneldoc comment, yielding this warning:
./include/linux/device.h:969: warning: No description found for parameter 'dma_ops'
Add a description and bring a little peace to the world.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
---
include/linux/device.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/device.h b/include/linux/device.h
index 723cd54b94da..ed9904728cda 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -847,6 +847,7 @@ struct dev_links_info {
* @msi_list: Hosts MSI descriptors
* @msi_domain: The generic MSI domain this device is using.
* @numa_node: NUMA node this device is close to.
+ * @dma_ops: DMA mapping operations for this device.
* @dma_mask: Dma mask (if dma'ble device).
* @coherent_dma_mask: Like dma_mask, but for alloc_coherent mapping as not all
* hardware supports 64-bit addresses for consistent allocations
--
2.13.4
[toc] | [next] | [standalone]
| From | Bart Van Assche <Bart.VanAssche@wdc.com> |
|---|---|
| Date | 2017-08-25 01:30 +0200 |
| Message-ID | <ui9Jw-4Jw-7@gated-at.bofh.it> |
| In reply to | #1719611 |
On Thu, 2017-08-24 at 16:09 -0600, Jonathan Corbet wrote:
> Commit 5657933dbb6e (treewide: Move dma_ops from struct dev_archdata into
> struct device) added the dma_ops field to struct device, but did not
> update the kerneldoc comment, yielding this warning:
>
> ./include/linux/device.h:969: warning: No description found for parameter 'dma_ops'
>
> Add a description and bring a little peace to the world.
>
> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
> ---
> include/linux/device.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/linux/device.h b/include/linux/device.h
> index 723cd54b94da..ed9904728cda 100644
> --- a/include/linux/device.h
> +++ b/include/linux/device.h
> @@ -847,6 +847,7 @@ struct dev_links_info {
> * @msi_list: Hosts MSI descriptors
> * @msi_domain: The generic MSI domain this device is using.
> * @numa_node: NUMA node this device is close to.
> + * @dma_ops: DMA mapping operations for this device.
> * @dma_mask: Dma mask (if dma'ble device).
> * @coherent_dma_mask: Like dma_mask, but for alloc_coherent mapping as not all
> * hardware supports 64-bit addresses for consistent allocations
Thanks Jonathan for this patch.
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web