summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/timens
diff options
context:
space:
mode:
authorJohn Fastabend <john.fastabend@gmail.com>2020-09-28 18:50:47 -0700
committerAlexei Starovoitov <ast@kernel.org>2020-09-28 21:33:38 -0700
commit00e8c44a147aa237867ba38b096da5e28b85a57b (patch)
tree3ed966fb65ef6c65a7b18f51b56740735a2e2b66 /tools/testing/selftests/timens
parentbc6009086588f284bdd8b0463b24a9a76777c6b5 (diff)
bpf, selftests: Fix cast to smaller integer type 'int' warning in raw_tp
Fix warning in bpf selftests, progs/test_raw_tp_test_run.c:18:10: warning: cast to smaller integer type 'int' from 'struct task_struct *' [-Wpointer-to-int-cast] Change int type cast to long to fix. Discovered with gcc-9 and llvm-11+ where llvm was recent main branch. Fixes: 09d8ad16885ee ("selftests/bpf: Add raw_tp_test_run") Signed-off-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/160134424745.11199.13841922833336698133.stgit@john-Precision-5820-Tower
Diffstat (limited to 'tools/testing/selftests/timens')
0 files changed, 0 insertions, 0 deletions