diff mbox series

[v2] dma-buf: Fix the typo in DMA-BUF statistics doc

Message ID 64b6749a.170a0220.3acab.2af9@mx.google.com (mailing list archive)
State New, archived
Headers show
Series [v2] dma-buf: Fix the typo in DMA-BUF statistics doc | expand

Commit Message

Luc Ma July 18, 2023, 11:16 a.m. UTC
From: Luc Ma <luc@sietium.com>

The kernel-doc for DMA-BUF statistics mentions /sys/kernel/dma-buf/buffers
but the correct path is /sys/kernel/dmabuf/buffers instead.

Signed-off-by: Luc Ma <luc@sietium.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
---
 drivers/dma-buf/dma-buf-sysfs-stats.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Christian König July 27, 2023, 7:46 a.m. UTC | #1
Am 18.07.23 um 13:16 schrieb Luc Ma:
> From: Luc Ma <luc@sietium.com>
>
> The kernel-doc for DMA-BUF statistics mentions /sys/kernel/dma-buf/buffers
> but the correct path is /sys/kernel/dmabuf/buffers instead.
>
> Signed-off-by: Luc Ma <luc@sietium.com>
> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>

Reviewed and pushed to drm-misc-next.

Thanks,
Christian.

> ---
>   drivers/dma-buf/dma-buf-sysfs-stats.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/dma-buf/dma-buf-sysfs-stats.c b/drivers/dma-buf/dma-buf-sysfs-stats.c
> index 6cfbbf0720bd..b5b62e40ccc1 100644
> --- a/drivers/dma-buf/dma-buf-sysfs-stats.c
> +++ b/drivers/dma-buf/dma-buf-sysfs-stats.c
> @@ -33,7 +33,7 @@
>    * into their address space. This necessitated the creation of the DMA-BUF sysfs
>    * statistics interface to provide per-buffer information on production systems.
>    *
> - * The interface at ``/sys/kernel/dma-buf/buffers`` exposes information about
> + * The interface at ``/sys/kernel/dmabuf/buffers`` exposes information about
>    * every DMA-BUF when ``CONFIG_DMABUF_SYSFS_STATS`` is enabled.
>    *
>    * The following stats are exposed by the interface:
diff mbox series

Patch

diff --git a/drivers/dma-buf/dma-buf-sysfs-stats.c b/drivers/dma-buf/dma-buf-sysfs-stats.c
index 6cfbbf0720bd..b5b62e40ccc1 100644
--- a/drivers/dma-buf/dma-buf-sysfs-stats.c
+++ b/drivers/dma-buf/dma-buf-sysfs-stats.c
@@ -33,7 +33,7 @@ 
  * into their address space. This necessitated the creation of the DMA-BUF sysfs
  * statistics interface to provide per-buffer information on production systems.
  *
- * The interface at ``/sys/kernel/dma-buf/buffers`` exposes information about
+ * The interface at ``/sys/kernel/dmabuf/buffers`` exposes information about
  * every DMA-BUF when ``CONFIG_DMABUF_SYSFS_STATS`` is enabled.
  *
  * The following stats are exposed by the interface: