Skip to content

Add missing header includes to init.c and IPC3 handler - #9596

Merged
lgirdwood merged 2 commits into
thesofproject:mainfrom
kv2019i:202410-header-cleanup
Oct 21, 2024
Merged

lgirdwood merged 2 commits into
thesofproject:mainfrom
kv2019i:202410-header-cleanup

Conversation

@kv2019i

@kv2019i kv2019i commented Oct 18, 2024

Copy link
Copy Markdown
Collaborator

Small series to fix header dependencies. Unrecovered while cleaning up RTOS headers and noticed these files won't compile unless e.g. trace.h pulls a bunch of common headers.

It's not legal to include platform/lib/mailbox.h directly.
Fix the code to include sof/lib/mailbox.h. This has worked only
because the mailbox header is included indirectly by other
headers.

Signed-off-by: Kai Vehmanen <[email protected]>
The alloc.h header depends on PLATFORM_DCACHE_ALIGN, but does not
include sof/lib/memory.h, but relies for the definition to be
available indirectly. Fix this and make the include statement
explicit.

Signed-off-by: Kai Vehmanen <[email protected]>
@lgirdwood

Copy link
Copy Markdown
Member

@wszypelt @lrudyX good to merge ?

@wszypelt

wszypelt commented Oct 21, 2024 •

Copy link
Copy Markdown

@lgirdwood in Internal Intel CI, everything's fine.

@lgirdwood
lgirdwood merged commit 0fcf38c into thesofproject:main Oct 21, 2024
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.

4 participants