Patch "selftests/bpf: Fix progs/find_vma_fail1.c build error." has been added to the 6.2-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    selftests/bpf: Fix progs/find_vma_fail1.c build error.

to the 6.2-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     selftests-bpf-fix-progs-find_vma_fail1.c-build-error.patch
and it can be found in the queue-6.2 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit f0a1ec6b5e5174135ad63c4ca55a9ff982a67d48
Author: Alexei Starovoitov <ast@xxxxxxxxxx>
Date:   Fri Mar 10 12:41:18 2023 -0800

    selftests/bpf: Fix progs/find_vma_fail1.c build error.
    
    [ Upstream commit 32513d40d908b267508d37994753d9bd1600914b ]
    
    The commit 11e456cae91e ("selftests/bpf: Fix compilation errors: Assign a value to a constant")
    fixed the issue cleanly in bpf-next.
    This is an alternative fix in bpf tree to avoid merge conflict between bpf and bpf-next.
    
    Signed-off-by: Alexei Starovoitov <ast@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/tools/testing/selftests/bpf/progs/find_vma_fail1.c b/tools/testing/selftests/bpf/progs/find_vma_fail1.c
index b3b326b8e2d1c..6dab9cffda132 100644
--- a/tools/testing/selftests/bpf/progs/find_vma_fail1.c
+++ b/tools/testing/selftests/bpf/progs/find_vma_fail1.c
@@ -2,6 +2,7 @@
 /* Copyright (c) 2021 Facebook */
 #include "vmlinux.h"
 #include <bpf/bpf_helpers.h>
+#define vm_flags vm_start
 
 char _license[] SEC("license") = "GPL";
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux