summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2023-06-06 14:30:47 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2023-06-06 18:08:22 +0300
commit095641817e1bf6aa2560e025e47575188ee3edaf (patch)
tree15286ef57c83c8bf494f1fb949a4d9f64ea55d6c /tools/perf/scripts/python/export-to-postgresql.py
parentaa6182707a53c5e4df7b3da7ba4faa7e29dc71a0 (diff)
downloadlinux-095641817e1bf6aa2560e025e47575188ee3edaf.tar.xz
selftests/bpf: Fix check_mtu using wrong variable type
Dan Carpenter found via Smatch static checker, that unsigned 'mtu_lo' is never less than zero. Variable mtu_lo should have been an 'int', because read_mtu_device_lo() uses minus as error indications. Fixes: b62eba563229 ("selftests/bpf: Tests using bpf_check_mtu BPF-helper") Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: Simon Horman <simon.horman@corigine.com> Link: https://lore.kernel.org/bpf/168605104733.3636467.17945947801753092590.stgit@firesoul
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions