Skip to content

headers: update for compatibility with toolchain headers down to 5.15 - #171

Merged
jk-ozlabs merged 1 commit into
CodeConstruct:mainfrom
SafetyInObscurity:fix-headers
Aug 19, 2026
Merged

headers: update for compatibility with toolchain headers down to 5.15#171
jk-ozlabs merged 1 commit into
CodeConstruct:mainfrom
SafetyInObscurity:fix-headers

Conversation

@SafetyInObscurity

Copy link
Copy Markdown
Contributor

Found that many distro build toolchains use outdated kernel headers. Explicitly add linux/if.h to mctp-ops-test.c, and add missing linux/mctp.h definitions if undefined.

@SafetyInObscurity
SafetyInObscurity force-pushed the fix-headers branch 2 times, most recently from bafbc62 to c549ed5 Compare August 18, 2026 09:08

@jk-ozlabs jk-ozlabs left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I'd just suggest a tweak to remove the hard-coded SIOCPROTOPRIVATE value.

Comment thread src/mctp.h Outdated
@SafetyInObscurity
SafetyInObscurity force-pushed the fix-headers branch 2 times, most recently from c1c0f08 to a643b75 Compare August 19, 2026 01:42
Found that many distro build toolchains use outdated kernel headers.
Explicitly add linux/if.h to mctp-ops-test.c, and add missing
linux/mctp.h definitions if undefined.

Signed-off-by: James Lee <james@codeconstruct.com.au>
@jk-ozlabs
jk-ozlabs merged commit bc35ac9 into CodeConstruct:main Aug 19, 2026
3 checks passed
@jk-ozlabs

Copy link
Copy Markdown
Member

Merged, thanks!

@SafetyInObscurity
SafetyInObscurity deleted the fix-headers branch August 19, 2026 04:54
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