diff options
author | 2018-01-18 16:14:49 +0100 | |
---|---|---|
committer | 2018-01-18 10:37:12 -0500 | |
commit | d680b3524cd2b9c4f1dc2ba1823c538988bb85e2 (patch) | |
tree | ccfe1762b1f8ae91e243b416e8ccf03bdb28c687 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | Merge tag 'linux-can-next-for-4.16-20180116' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next (diff) | |
download | linux-dev-d680b3524cd2b9c4f1dc2ba1823c538988bb85e2.tar.xz linux-dev-d680b3524cd2b9c4f1dc2ba1823c538988bb85e2.zip |
net: sched: silence uninitialized parent variable warning in tc_dump_tfilter
When tcm->tcm_ifindex == TCM_IFINDEX_MAGIC_BLOCK, parent is still passed
down but the value is never used. Compiler does not recognize it and
issues a warning. Silence it down initializing parent to 0.
Fixes: 7960d1daf278 ("net: sched: use block index as a handle instead of qdisc when block is shared")
Reported-by: David Miller <davem@davemloft.net>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions