Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

linux-bootloader: simplify get_loader_features #392

Conversation

nicholasbishop
Copy link
Contributor

Rather than calling get_variable_size, allocating a vec, and then reading into it, use a fixed-size buffer. The behavior is unchanged, just a little simpler.

Also added a summary of the error behavior to the docstring.

Rather than calling get_variable_size, allocating a vec, and then
reading into it, use a fixed-size buffer. The behavior is unchanged,
just a little simpler.

Also added a summary of the error behavior to the docstring.
@nicholasbishop nicholasbishop force-pushed the bishop-simplify-get-loader-features-2 branch from 0104987 to 98cf650 Compare October 5, 2024 20:56
@nicholasbishop
Copy link
Contributor Author

CI is failing, but I'm unclear if it's related to my changes or something else.

@RaitoBezarius
Copy link
Member

I kicked the CI again, seems CI instability. It feels like it should pass.

@RaitoBezarius RaitoBezarius added this pull request to the merge queue Oct 6, 2024
Merged via the queue into nix-community:master with commit 0bc127c Oct 6, 2024
2 checks passed
@nicholasbishop nicholasbishop deleted the bishop-simplify-get-loader-features-2 branch October 15, 2024 03:16
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants