diff mbox series

dma-buf: remove unintended hyphen in the sysfs path

Message ID 64b5dc93.170a0220.243d5.1d63@mx.google.com (mailing list archive)
State New, archived
Headers show
Series dma-buf: remove unintended hyphen in the sysfs path | expand

Commit Message

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

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

Comments

Javier Martinez Canillas July 18, 2023, 6:39 a.m. UTC | #1
Luc Ma <onion0709@gmail.com> writes:

> From: Luc Ma <luc@sietium.com>
>
> Signed-off-by: Luc Ma <luc@sietium.com>
> ---

Even when is a trivial change I would add something as commit message, i.e:

"The kernel-doc mentions /sys/kernel/dma-buf/buffers but the correct path
is /sys/kernel/dmabuf/buffers instead. Fix the typo in the documentation".

Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Luc Ma July 18, 2023, 8:34 a.m. UTC | #2
Hi,


On Tue, 18 Jul 2023 at 14:39, Javier Martinez Canillas
<javierm@redhat.com> wrote:
>
> Luc Ma <onion0709@gmail.com> writes:
>
> > From: Luc Ma <luc@sietium.com>
> >
> > Signed-off-by: Luc Ma <luc@sietium.com>
> > ---
>
> Even when is a trivial change I would add something as commit message, i.e:
>
> "The kernel-doc mentions /sys/kernel/dma-buf/buffers but the correct path
> is /sys/kernel/dmabuf/buffers instead. Fix the typo in the documentation".
>
> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
>

thank you for the review, I'll add the above to v2

> --
> Best regards,
>
> Javier Martinez Canillas
> Core Platforms
> Red Hat
>
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: