On Wed, Mar 6, 2019 at 3:25 PM Stanislav Fomichev <sdf@xxxxxxxxxx> wrote: > > 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@xxxxxxxxxx> Acked-by: Yonghong Song <yhs@xxxxxx>