Skip to content

Commit 5a70f4a

Browse files
quitschboborkmann
authored andcommitted
bpf: Fix a typo for BPF_F_ANY_ALIGNMENT in bpf.h
Fix s/BPF_PROF_LOAD/BPF_PROG_LOAD/ typo in the documentation comment for BPF_F_ANY_ALIGNMENT in bpf.h. Signed-off-by: Michael Weiß <michael.weiss@aisec.fraunhofer.de> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20230309133823.944097-1-michael.weiss@aisec.fraunhofer.de
1 parent a686557 commit 5a70f4a

File tree

2 files changed

+2
-2
lines changed
  • include/uapi/linux
  • tools/include/uapi/linux

2 files changed

+2
-2
lines changed

include/uapi/linux/bpf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,7 @@ enum bpf_link_type {
11081108
*/
11091109
#define BPF_F_STRICT_ALIGNMENT (1U << 0)
11101110

1111-
/* If BPF_F_ANY_ALIGNMENT is used in BPF_PROF_LOAD command, the
1111+
/* If BPF_F_ANY_ALIGNMENT is used in BPF_PROG_LOAD command, the
11121112
* verifier will allow any alignment whatsoever. On platforms
11131113
* with strict alignment requirements for loads ands stores (such
11141114
* as sparc and mips) the verifier validates that all loads and

tools/include/uapi/linux/bpf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,7 @@ enum bpf_link_type {
11081108
*/
11091109
#define BPF_F_STRICT_ALIGNMENT (1U << 0)
11101110

1111-
/* If BPF_F_ANY_ALIGNMENT is used in BPF_PROF_LOAD command, the
1111+
/* If BPF_F_ANY_ALIGNMENT is used in BPF_PROG_LOAD command, the
11121112
* verifier will allow any alignment whatsoever. On platforms
11131113
* with strict alignment requirements for loads ands stores (such
11141114
* as sparc and mips) the verifier validates that all loads and

0 commit comments

Comments
 (0)