]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
bpf: Fix indentation issue in epilogue_idx
authorMartin KaFai Lau <martin.lau@kernel.org>
Wed, 4 Sep 2024 18:08:45 +0000 (11:08 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 4 Sep 2024 19:45:18 +0000 (12:45 -0700)
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>
kernel/bpf/verifier.c

index 8bfb14d1eb7a10d8b1a9c4174720daa0aa7e6f79..b806afeba212d603892facc99c74ee6102ea119f 100644 (file)
@@ -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 {