summaryrefslogtreecommitdiffstats
path: root/kernel/bpf
diff options
context:
space:
mode:
authorMartin KaFai Lau <martin.lau@kernel.org>2024-09-04 20:08:45 +0200
committerAlexei Starovoitov <ast@kernel.org>2024-09-04 21:45:18 +0200
commit00750788dfc6b5167a294915e2690d8af182c496 (patch)
tree806928422610b9ca42864068a0e2749d59ac718c /kernel/bpf
parentbpf: Remove the insn_buf array stack usage from the inline_bpf_loop() (diff)
downloadlinux-00750788dfc6b5167a294915e2690d8af182c496.tar.xz
linux-00750788dfc6b5167a294915e2690d8af182c496.zip
bpf: Fix indentation issue in epilogue_idx
There is a report on new indentation issue in epilogue_idx. This patch fixed it. Fixes: 169c31761c8d ("bpf: Add gen_epilogue to bpf_verifier_ops") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202408311622.4GzlzN33-lkp@intel.com/ Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org> Link: https://lore.kernel.org/r/20240904180847.56947-3-martin.lau@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf')
-rw-r--r--kernel/bpf/verifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c
index 8bfb14d1eb7a..b806afeba212 100644
--- a/kernel/bpf/verifier.c
+++ b/kernel/bpf/verifier.c
@@ -19800,7 +19800,7 @@ static int convert_ctx_accesses(struct bpf_verifier_env *env)
* least one ctx ptr saving insn before the
* epilogue.
*/
- epilogue_idx = i + delta;
+ epilogue_idx = i + delta;
}
goto patch_insn_buf;
} else {