Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 7960d1d ("net: sched: use block index as a handle instead of qdisc when block is shared") Reported-by: David Miller <[email protected]> Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information