-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cleanup for data casting #3337
cleanup for data casting #3337
Conversation
Master branch: 9ff5efd |
Master branch: 9ff5efd |
08ed9ff
to
d81a0ce
Compare
Master branch: e5e2342 |
d81a0ce
to
9dc187f
Compare
Memory addresses are conceptually unsigned, (unsigned long) casting makes more sense, so let's make a change for conceptual uniformity and there is no functional change. Signed-off-by: Pu Lehui <pulehui@huawei.com> Acked-by: Yonghong Song <yhs@fb.com>
Memory addresses are conceptually unsigned, (unsigned long) casting makes more sense, so let's make a change for conceptual uniformity and there is no functional change. Signed-off-by: Pu Lehui <pulehui@huawei.com>
Memory addresses are conceptually unsigned, (unsigned long) casting makes more sense, so let's make a change for conceptual uniformity and there is no functional change. Signed-off-by: Pu Lehui <pulehui@huawei.com> Acked-by: Yonghong Song <yhs@fb.com>
Memory addresses are conceptually unsigned, (unsigned long) casting makes more sense, so let's make a change for conceptual uniformity and there is no functional change. Signed-off-by: Pu Lehui <pulehui@huawei.com> Acked-by: Yonghong Song <yhs@fb.com>
We have unified data extension operation of jited_ksyms and jited_linfo into zero extension [0], so there's no need to cast __u64 memory address to long data type. And __u64 in some arch is unsigned long, so to avoid compiler warnings we just cast them to unsigned long long. [0] https://lore.kernel.org/bpf/20220530092815.1112406-2-pulehui@huawei.com/ Signed-off-by: Pu Lehui <pulehui@huawei.com>
Master branch: fd18942 |
9dc187f
to
3a3ff3c
Compare
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=660685 expired. Closing PR. |
Pull request for series with
subject: cleanup for data casting
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=660304