aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJoe Stringer <[email protected]>2018-11-09 10:18:16 -0800
committerAlexei Starovoitov <[email protected]>2018-11-16 17:40:10 -0800
commit5c86d2125b58949122e03f04ce940e6f5b8534ba (patch)
tree01acfe764ce488de7056a4ed00ed0f92a769f96d /tools/perf/scripts/python/net_dropmonitor.py
parent407be8d03e20d70d15cd8c21591202a591e3c2b2 (diff)
selftests/bpf: Fix uninitialized duration warning
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 <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions