Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bpf: Fix bpf_dynptr documentation comments

The function argument names were changed but the doc comment was not.
Fix htmldocs build warning by updating doc comments.

Fixes: cce4c40b9606 ("bpf: treewide: Align kfunc signatures to prog point-of-view")
Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Link: https://lore.kernel.org/r/d0b0eb05f91e12e5795966153b11998d3fc1d433.1718295425.git.dxu@dxuuu.xyz
Signed-off-by: Alexei Starovoitov <ast@kernel.org>

authored by

Daniel Xu and committed by
Alexei Starovoitov
78746f93 041c1dc9

+2 -2
+2 -2
kernel/bpf/helpers.c
··· 2433 2433 2434 2434 /** 2435 2435 * bpf_dynptr_slice() - Obtain a read-only pointer to the dynptr data. 2436 - * @ptr: The dynptr whose data slice to retrieve 2436 + * @p: The dynptr whose data slice to retrieve 2437 2437 * @offset: Offset into the dynptr 2438 2438 * @buffer__opt: User-provided buffer to copy contents into. May be NULL 2439 2439 * @buffer__szk: Size (in bytes) of the buffer if present. This is the ··· 2504 2504 2505 2505 /** 2506 2506 * bpf_dynptr_slice_rdwr() - Obtain a writable pointer to the dynptr data. 2507 - * @ptr: The dynptr whose data slice to retrieve 2507 + * @p: The dynptr whose data slice to retrieve 2508 2508 * @offset: Offset into the dynptr 2509 2509 * @buffer__opt: User-provided buffer to copy contents into. May be NULL 2510 2510 * @buffer__szk: Size (in bytes) of the buffer if present. This is the