mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
dma-buf: fix comment in dma_buf_llseek to match implementation
The comment in dma_buf_llseek() referenced a "SEEK_END(0), SEEK_CUR(0) pattern", but the implementation does not support SEEK_CUR - it only handles SEEK_END and SEEK_SET, returning -EINVAL for anything else. Replace SEEK_CUR with SEEK_SET in the comment so that it accurately describes the supported idiomatic pattern. Signed-off-by: Haojie Li <lihaojie@kylinos.cn> Link: https://lore.kernel.org/r/20260825064041.328640-1-lihaojie@kylinos.cn Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
parent
6a1f6cb759
commit
eb10ac2104
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue