On Thu, Sep 19, 2024 at 9:55 PM Jason Xing <kerneljasonxing@xxxxxxxxx> wrote: > > From: Jason Xing <kernelxing@xxxxxxxxxxx> > > In some environments (gcc treated as error in W=1, which is default), if we > make -C samples/bpf/, it will be stopped because of > "no previous prototype" error like this: > > ../samples/bpf/syscall_nrs.c:7:6: > error: no previous prototype for ‘syscall_defines’ [-Werror=missing-prototypes] > void syscall_defines(void) > ^~~~~~~~~~~~~~~ samples/bpf/ doesn't accept patches any more. If this samples/test is useful, refactor it to the test_progs framework. Otherwise delete it. pw-bot: cr