[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAH3MdRVu9Fk_NavZn2XJcXKkicwjRC0m0H4zvSRSRokxhdk_jg@mail.gmail.com>
Date: Wed, 6 Mar 2019 16:50:43 -0800
From: Y Song <ys114321@...il.com>
To: Stanislav Fomichev <sdf@...gle.com>
Cc: netdev <netdev@...r.kernel.org>, bpf@...r.kernel.org,
David Miller <davem@...emloft.net>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>
Subject: Re: [PATCH bpf] selftests: bpf: test_progs: initialize duration in
singal_pending test
On Wed, Mar 6, 2019 at 3:25 PM Stanislav Fomichev <sdf@...gle.com> 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@...gle.com>
Acked-by: Yonghong Song <yhs@...com>
Powered by blists - more mailing lists