diff options
| author | Haojie Li <lihaojie@kylinos.cn> | 2026-08-25 14:40:41 +0800 |
|---|---|---|
| committer | Christian König <christian.koenig@amd.com> | 2026-09-02 10:04:55 +0200 |
| commit | eb10ac21048b457b0af1f8167911e4978de209e9 (patch) | |
| tree | f65657d432ce732ae775fd778d1203880b8c8838 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 6a1f6cb7593aebcdb4f9022410622128fb23b1a1 (diff) | |
| download | linux-eb10ac21048b457b0af1f8167911e4978de209e9.tar.gz linux-eb10ac21048b457b0af1f8167911e4978de209e9.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
