2022-04-03 00:20:26

by Sui Jingfeng

[permalink] [raw]
Subject: [PATCH] drivers/dma-buf: dma-buf.c: fix a typo

Signed-off-by: Sui Jingfeng <[email protected]>
---
drivers/dma-buf/dma-buf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c
index df23239b04fc..775d3afb4169 100644
--- a/drivers/dma-buf/dma-buf.c
+++ b/drivers/dma-buf/dma-buf.c
@@ -443,7 +443,7 @@ static struct file *dma_buf_getfile(struct dma_buf *dmabuf, int flags)
* as a file descriptor by calling dma_buf_fd().
*
* 2. Userspace passes this file-descriptors to all drivers it wants this buffer
- * to share with: First the filedescriptor is converted to a &dma_buf using
+ * to share with: First the file descriptor is converted to a &dma_buf using
* dma_buf_get(). Then the buffer is attached to the device using
* dma_buf_attach().
*
--
2.25.1


2022-04-05 02:20:43

by Christian König

[permalink] [raw]
Subject: Re: [PATCH] drivers/dma-buf: dma-buf.c: fix a typo

Am 02.04.22 um 15:44 schrieb Sui Jingfeng:
> Signed-off-by: Sui Jingfeng <[email protected]>

Reviewed-by: Christian König <[email protected]> and pushed to
drm-misc-next.

Thanks,
Christian.

> ---
> drivers/dma-buf/dma-buf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c
> index df23239b04fc..775d3afb4169 100644
> --- a/drivers/dma-buf/dma-buf.c
> +++ b/drivers/dma-buf/dma-buf.c
> @@ -443,7 +443,7 @@ static struct file *dma_buf_getfile(struct dma_buf *dmabuf, int flags)
> * as a file descriptor by calling dma_buf_fd().
> *
> * 2. Userspace passes this file-descriptors to all drivers it wants this buffer
> - * to share with: First the filedescriptor is converted to a &dma_buf using
> + * to share with: First the file descriptor is converted to a &dma_buf using
> * dma_buf_get(). Then the buffer is attached to the device using
> * dma_buf_attach().
> *