We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc60090 commit 00e8c44Copy full SHA for 00e8c44
tools/testing/selftests/bpf/progs/test_raw_tp_test_run.c
@@ -15,7 +15,7 @@ int BPF_PROG(rename, struct task_struct *task, char *comm)
15
count++;
16
if ((__u64) task == 0x1234ULL && (__u64) comm == 0x5678ULL) {
17
on_cpu = bpf_get_smp_processor_id();
18
- return (int)task + (int)comm;
+ return (long)task + (long)comm;
19
}
20
21
return 0;
0 commit comments