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

Replace one-element arrays with flexible-array members in UAPI #120

Closed
kees opened this issue Jan 8, 2021 · 2 comments
Closed

Replace one-element arrays with flexible-array members in UAPI #120

kees opened this issue Jan 8, 2021 · 2 comments

Comments

@kees
Copy link

kees commented Jan 8, 2021

It's non-trivial to update UAPI headers, so to eliminate one-element arrays, it's likely that anonymous unions need to be used. There are some caveats with that, though:

https://www.mail-archive.com/[email protected]/msg48095.html

@GustavoARSilva GustavoARSilva changed the title Replace 1-byte arrays with flexible-array members in UAPI Replace one-element arrays with flexible-array members in UAPI Jan 11, 2021
@GustavoARSilva
Copy link
Collaborator

There is already an issue for this:
#113

@kees
Copy link
Author

kees commented Jan 13, 2021

Ah, thank you! :) I missed it.

@kees kees closed this as completed Jan 13, 2021
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

No branches or pull requests

2 participants