diff options
author | Willem de Bruijn <willemb@google.com> | 2019-03-23 12:23:07 -0400 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-03-24 15:31:57 -0700 |
commit | 62b31b42cff924c7d1e9a095b68ff3bbfc49b15b (patch) | |
tree | 1db3163ba2f023f753054bd45f4976aae57eba8c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7df5e3db8f6354125540dfa50affd2c02b7d2832 (diff) |
bpf: silence uninitialized var warning in bpf_skb_net_grow
These three variables are set in one branch and used in another with
the same condition. But on some architectures they still generate
compiler warnings of the kind:
warning: 'inner_trans' may be used uninitialized in this function [-Wmaybe-uninitialized]
Silence these false positives. Use the straightforward approach to
always initialize them, if a bit superfluous.
Fixes: 868d523535c2 ("bpf: add bpf_skb_adjust_room encap flags")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions