Skip to content

Conversation

@a-gavin
Copy link
Contributor

@a-gavin a-gavin commented Dec 18, 2025

As before, generate latest Linux 6.18 kernel bindings.

During generation, I noticed the following warnings which I had seen in previous CI runs if I'm not mistaken. My development environment uses clang-19, if it helps.

...
clang diag: modules/general.h:203:9: warning: 'UFFDIO_REGISTER_MODE_MINOR' macro redefined [-Wmacro-redefined]
clang diag: modules/general.h:205:9: warning: 'UFFDIO_COPY_MODE_DONTWAKE' macro redefined [-Wmacro-redefined]
clang diag: modules/general.h:206:9: warning: 'UFFDIO_COPY_MODE_WP' macro redefined [-Wmacro-redefined]
clang diag: modules/general.h:208:9: warning: 'UFFDIO_ZEROPAGE_MODE_DONTWAKE' macro redefined [-Wmacro-redefined]
...
Generating bindings for system on Linux v6.18 architecture x32
clang diag: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument]
Generating bindings for xdp on Linux v6.18 architecture x32
clang diag: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument]
All bindings generated!

Full logs attached here:
build_logs.txt

@sunfishcode
Copy link
Owner

Looks good! Please don't include the build logs in the PR though. For those macro redefinition warnings, we can just remove the macros from modules/general.h now that they're defined by the Linux headers.

@a-gavin a-gavin force-pushed the linux-6.18 branch 2 times, most recently from 2531cb1 to 5ab3fd7 Compare December 28, 2025 05:43
@a-gavin
Copy link
Contributor Author

a-gavin commented Dec 28, 2025

Apologies, didn't notice I included the logs in the PR as well! Force pushed w/ just the 6.18 changes.

Exploring addressing the redundant macro definitions, but not sure how much progress I'll be able to make on that.

@a-gavin
Copy link
Contributor Author

a-gavin commented Dec 28, 2025

Okay one more force push and now done, this time to include the m68k generated bindings for consistency across ISAs.

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