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

Configure Feed

Select the types of activity you want to include in your feed.

bpf, docs: Fix non-standard line break

Even though the kernel's coding-style document does not explicitly
state this, we generally put a newline after the semicolon of every
C language statement to enhance code readability.

Adjust the placement of newlines to adhere to this convention.

Reported-by: Chen Linxuan <chenlinxuan@uniontech.com>
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Reviewed-by: Yanteng Si <si.yanteng@linux.dev>
Link: https://lore.kernel.org/r/DB66473733449DB0+20250423030632.17626-1-wangyuli@uniontech.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>

authored by

WangYuli and committed by
Alexei Starovoitov
4cc20482 60400cd2

+2 -2
+2 -2
Documentation/bpf/bpf_iterators.rst
··· 323 323 324 324 :: 325 325 326 - link = bpf_program__attach_iter(prog, &opts); iter_fd = 327 - bpf_iter_create(bpf_link__fd(link)); 326 + link = bpf_program__attach_iter(prog, &opts); 327 + iter_fd = bpf_iter_create(bpf_link__fd(link)); 328 328 329 329 If both *tid* and *pid* are zero, an iterator created from this struct 330 330 ``bpf_iter_attach_opts`` will include every opened file of every task in the