diff options
author | 2021-04-23 01:55:43 +0200 | |
---|---|---|
committer | 2021-04-23 09:58:21 -0700 | |
commit | a8fad73e3334151196acb28c4dcde37732c82542 (patch) | |
tree | 8282ba0f8b0229af59a7e21bdc5b61b83405dde5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf: Notify user if we ever hit a bpf_snprintf verifier bug (diff) | |
download | wireguard-linux-a8fad73e3334151196acb28c4dcde37732c82542.tar.xz wireguard-linux-a8fad73e3334151196acb28c4dcde37732c82542.zip |
bpf: Remove unnecessary map checks for ARG_PTR_TO_CONST_STR
reg->type is enforced by check_reg_type() and map should never be NULL
(it would already have been dereferenced anyway) so these checks are
unnecessary.
Reported-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Florent Revest <revest@chromium.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210422235543.4007694-3-revest@chromium.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions