bpf: verifier: Add missing newline on verbose() call
authorDaniel Xu <dxu@dxuuu.xyz>
Tue, 14 Jan 2025 20:28:42 +0000 (13:28 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 17 Jan 2025 01:51:10 +0000 (17:51 -0800)
The print was missing a newline.

Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Link: https://lore.kernel.org/r/59cbe18367b159cd470dc6d5c652524c1dc2b984.1736886479.git.dxu@dxuuu.xyz
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/verifier.c

index b8ca227c78af1eccaa5b2f14ad5a033b996f3f07..8879977eb9eba6197c77b1f5f6a289ffbef03f84 100644 (file)
@@ -7739,7 +7739,7 @@ static int check_stack_range_initialized(
                slot = -i - 1;
                spi = slot / BPF_REG_SIZE;
                if (state->allocated_stack <= slot) {
-                       verbose(env, "verifier bug: allocated_stack too small");
+                       verbose(env, "verifier bug: allocated_stack too small\n");
                        return -EFAULT;
                }