From: Alexei Starovoitov <alexei.starovoitov@gmail.com>
To: Joe Stringer <joe@wand.net.nz>
Cc: Daniel Borkmann <daniel@iogearbox.net>,
Network Development <netdev@vger.kernel.org>
Subject: Re: [PATCH bpf-next] selftests/bpf: Fix uninitialized duration warning
Date: Sat, 17 Nov 2018 01:44:57 +0000 [thread overview]
Message-ID: <CAADnVQ+VVPfr1WHS-xLJ8gGtUPUrNXHwBV6-QLftkf1v3jFrtA@mail.gmail.com> (raw)
In-Reply-To: <20181109181816.22622-1-joe@wand.net.nz>
On Fri, Nov 9, 2018 at 6:20 PM Joe Stringer <joe@wand.net.nz> wrote:
>
> Daniel Borkmann reports:
>
> test_progs.c: In function ‘main’:
> test_progs.c:81:3: warning: ‘duration’ may be used uninitialized in this function [-Wmaybe-uninitialized]
> printf("%s:PASS:%s %d nsec\n", __func__, tag, duration);\
> ^~~~~~
> test_progs.c:1706:8: note: ‘duration’ was declared here
> __u32 duration;
> ^~~~~~~~
>
> Signed-off-by: Joe Stringer <joe@wand.net.nz>
Applied, thanks.
prev parent reply other threads:[~2018-11-17 11:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-09 18:18 [PATCH bpf-next] selftests/bpf: Fix uninitialized duration warning Joe Stringer
2018-11-12 23:51 ` Martin Lau
2018-11-17 1:44 ` Alexei Starovoitov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAADnVQ+VVPfr1WHS-xLJ8gGtUPUrNXHwBV6-QLftkf1v3jFrtA@mail.gmail.com \
--to=alexei.starovoitov@gmail.com \
--cc=daniel@iogearbox.net \
--cc=joe@wand.net.nz \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).