diff options
| author | Pu Lehui <pulehui@huawei.com> | 2022-04-19 22:52:37 +0800 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2022-04-19 21:59:35 -0700 |
| commit | 5af25a410acb8d34acb11024d752f0ea3491decf (patch) | |
| tree | a25eef1a7a78ab9ce10fe2108f63719e03d0dbfa /tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c | |
| parent | bpf: Fix usage of trace RCU in local storage. (diff) | |
| download | linux-5af25a410acb8d34acb11024d752f0ea3491decf.tar.gz linux-5af25a410acb8d34acb11024d752f0ea3491decf.zip | |
libbpf: Fix usdt_cookie being cast to 32 bits
The usdt_cookie is defined as __u64, which should not be
used as a long type because it will be cast to 32 bits
in 32-bit platforms.
Signed-off-by: Pu Lehui <pulehui@huawei.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220419145238.482134-2-pulehui@huawei.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c')
0 files changed, 0 insertions, 0 deletions
