On Wed, Apr 14, 2021 at 12:52 PM Jiri Olsa <jolsa@xxxxxxxxxx> wrote: > > Replacing CHECK with ASSERT macros. > > Suggested-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx> > --- thanks! Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > .../selftests/bpf/prog_tests/test_lsm.c | 27 +++++++------------ > 1 file changed, 10 insertions(+), 17 deletions(-) > > diff --git a/tools/testing/selftests/bpf/prog_tests/test_lsm.c b/tools/testing/selftests/bpf/prog_tests/test_lsm.c > index d492e76e01cf..244c01125126 100644 > --- a/tools/testing/selftests/bpf/prog_tests/test_lsm.c > +++ b/tools/testing/selftests/bpf/prog_tests/test_lsm.c > @@ -18,8 +18,6 @@ char *CMD_ARGS[] = {"true", NULL}; > #define GET_PAGE_ADDR(ADDR, PAGE_SIZE) \ > (char *)(((unsigned long) (ADDR + PAGE_SIZE)) & ~(PAGE_SIZE-1)) > [...]