summaryrefslogtreecommitdiffstats
path: root/security/loadpin
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@google.com>2019-03-06 15:25:26 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2019-03-07 10:46:25 +0100
commit69b09175d68241cb96ff9433d8e7a17382d720d6 (patch)
tree4b0f21f8cad390faf4bea9126a29bdbf4d60d4e6 /security/loadpin
parent8e2688876c7f7073d925e1f150e86b8ed3338f52 (diff)
downloadlinux-69b09175d68241cb96ff9433d8e7a17382d720d6.tar.bz2
selftests: bpf: test_progs: initialize duration in singal_pending test
CHECK macro implicitly uses duration. We call CHECK() a couple of times before duration is initialized from bpf_prog_test_run(). Explicitly set duration to 0 to avoid compiler warnings. Fixes: 740f8a657221 ("selftests/bpf: make sure signal interrupts BPF_PROG_TEST_RUN") Signed-off-by: Stanislav Fomichev <sdf@google.com> Acked-by: Yonghong Song <yhs@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'security/loadpin')
0 files changed, 0 insertions, 0 deletions