Skip to content
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

bpf: Use struct_size() #6911

Closed

Conversation

kernel-patches-daemon-bpf[bot]
Copy link

Pull request for series with
subject: bpf: Use struct_size()
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=848854

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 07801a2
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=848854
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 89de2db
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=848854
version: 1

Use struct_size() instead of hand writing it.
This is less verbose and more robust.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 0db63c0
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=848854
version: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant