diff options
author | Sui Jingfeng <suijingfeng@loongson.cn> | 2023-04-16 17:38:49 +0300 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2023-04-17 09:24:31 +0300 |
commit | e28f6966ac8021d8b677fe3839361db8c9344206 (patch) | |
tree | 51eb43191183026d702abcf0e1171347c96b8759 /drivers/dma-buf/dma-resv.c | |
parent | 7f6f26d7adee150e09d7537acc6d6894c27c0b7a (diff) | |
download | linux-e28f6966ac8021d8b677fe3839361db8c9344206.tar.xz |
dma-buf/dma-resv.c: fix a typo
The dma_resv_wait_timeout() function return a value greater than zero
on success.
Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230416143849.1142779-1-suijingfeng@loongson.cn
Diffstat (limited to 'drivers/dma-buf/dma-resv.c')
-rw-r--r-- | drivers/dma-buf/dma-resv.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |