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

Adjust gen_bpf_object_iter to use const* bpf_object #813

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

danielocfb
Copy link
Collaborator

There is seemingly no need for the gen_bpf_object_iter macro to work with a mutable bpf_object pointer. Use a const one instead and simplify a bunch of code in the process.

There is seemingly no need for the gen_bpf_object_iter macro to work
with a mutable bpf_object pointer. Use a const one instead and simplify
a bunch of code in the process.

Signed-off-by: Daniel Müller <deso@posteo.net>
@danielocfb
Copy link
Collaborator Author

CI failures seem to be due to rust-lang/rustfmt#6210

@danielocfb danielocfb merged commit 47a727d into libbpf:master Jun 24, 2024
11 of 12 checks passed
@danielocfb danielocfb deleted the topic/gen_bpf_object_iter branch June 24, 2024 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants