Skip to contentSkip to conversation

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

PATCH In review Luc Ma 2 participants 2 messages Jul 18, 2023 – Jul 27, 2023

Subsystems (2)
lore
Share & tools
lore

Luc Ma

author
#0 lore raw

PATCH v2 1/1 dma-buf: Fix the typo in DMA-BUF statistics doc

From: Luc Ma <[email protected]>

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

---
 drivers/dma-buf/dma-buf-sysfs-stats.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma-buf/dma-buf-sysfs-stats.c +1 -1
index 6cfbbf0720bd..b5b62e40ccc1 100644
@@ -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:
Signature · 1 line
2.25.1
maintainer
#1 lore raw

Am 18.07.23 um 13:16 schrieb Luc Ma:

Quoted 7 lines

From: Luc Ma <[email protected]>

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

Reviewed and pushed to drm-misc-next.

Thanks,
Christian.

Quoted 17 lines
---
  drivers/dma-buf/dma-buf-sysfs-stats.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma-buf/dma-buf-sysfs-stats.c +1 -1
index 6cfbbf0720bd..b5b62e40ccc1 100644
@@ -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: