diff mbox series

dma-buf/dma-resv.c: fix a typo

Message ID 20230416143849.1142779-1-suijingfeng@loongson.cn (mailing list archive)
State New, archived
Headers show
Series dma-buf/dma-resv.c: fix a typo | expand

Commit Message

Sui Jingfeng April 16, 2023, 2:38 p.m. UTC
The dma_resv_wait_timeout() function return a value greater than zero
on success.

Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn>
---
 drivers/dma-buf/dma-resv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Christian König April 17, 2023, 6:58 a.m. UTC | #1
Am 16.04.23 um 16:38 schrieb Sui Jingfeng:
> The dma_resv_wait_timeout() function return a value greater than zero
> on success.
>
> Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn>

Reviewed and pushed to drm-misc-next.

Thanks,
Christian.

> ---
>   drivers/dma-buf/dma-resv.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/dma-buf/dma-resv.c b/drivers/dma-buf/dma-resv.c
> index 2a594b754af1..b6f71eb00866 100644
> --- a/drivers/dma-buf/dma-resv.c
> +++ b/drivers/dma-buf/dma-resv.c
> @@ -660,7 +660,7 @@ EXPORT_SYMBOL_GPL(dma_resv_get_singleton);
>    * dma_resv_lock() already
>    * RETURNS
>    * Returns -ERESTARTSYS if interrupted, 0 if the wait timed out, or
> - * greater than zer on success.
> + * greater than zero on success.
>    */
>   long dma_resv_wait_timeout(struct dma_resv *obj, enum dma_resv_usage usage,
>   			   bool intr, unsigned long timeout)
Sui Jingfeng April 17, 2023, 7:32 a.m. UTC | #2
Hi,

On 2023/4/17 14:58, Christian König wrote:
> Am 16.04.23 um 16:38 schrieb Sui Jingfeng:
>> The dma_resv_wait_timeout() function return a value greater than zero
>> on success.
>>
>> Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn>
>
> Reviewed and pushed to drm-misc-next.
>
Thanks.

> Thanks,
> Christian.
>
>> ---
>>   drivers/dma-buf/dma-resv.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/dma-buf/dma-resv.c b/drivers/dma-buf/dma-resv.c
>> index 2a594b754af1..b6f71eb00866 100644
>> --- a/drivers/dma-buf/dma-resv.c
>> +++ b/drivers/dma-buf/dma-resv.c
>> @@ -660,7 +660,7 @@ EXPORT_SYMBOL_GPL(dma_resv_get_singleton);
>>    * dma_resv_lock() already
>>    * RETURNS
>>    * Returns -ERESTARTSYS if interrupted, 0 if the wait timed out, or
>> - * greater than zer on success.
>> + * greater than zero on success.
>>    */
>>   long dma_resv_wait_timeout(struct dma_resv *obj, enum 
>> dma_resv_usage usage,
>>                  bool intr, unsigned long timeout)
diff mbox series

Patch

diff --git a/drivers/dma-buf/dma-resv.c b/drivers/dma-buf/dma-resv.c
index 2a594b754af1..b6f71eb00866 100644
--- a/drivers/dma-buf/dma-resv.c
+++ b/drivers/dma-buf/dma-resv.c
@@ -660,7 +660,7 @@  EXPORT_SYMBOL_GPL(dma_resv_get_singleton);
  * dma_resv_lock() already
  * RETURNS
  * Returns -ERESTARTSYS if interrupted, 0 if the wait timed out, or
- * greater than zer on success.
+ * greater than zero on success.
  */
 long dma_resv_wait_timeout(struct dma_resv *obj, enum dma_resv_usage usage,
 			   bool intr, unsigned long timeout)