diff options
author | Yonghong Song <yonghong.song@linux.dev> | 2025-07-03 07:11:06 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-07-03 19:31:29 -0700 |
commit | 3b87251439b2abf207b9b2cc03bf8d29ae6bb257 (patch) | |
tree | 25fb84165e97c88b24c5a28f258a7dc84bb9d3d5 /scripts/lib/kdoc/kdoc_re.py | |
parent | 032547272eb0884470165e6a8fd73b80688e847f (diff) |
bpf: Simplify assignment to struct bpf_insn pointer in do_misc_fixups()
In verifier.c, the following code patterns (in two places)
struct bpf_insn *patch = &insn_buf[0];
can be simplified to
struct bpf_insn *patch = insn_buf;
which is easier to understand.
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20250703141106.1483216-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions