Skip to content

audio: (cosmetic) address comments to an earlier PR - #10736

Merged
lgirdwood merged 1 commit into
thesofproject:mainfrom
lyakh:vreg
May 5, 2026
Merged

audio: (cosmetic) address comments to an earlier PR#10736
lgirdwood merged 1 commit into
thesofproject:mainfrom
lyakh:vreg

Conversation

@lyakh

Copy link
Copy Markdown
Collaborator

Address two cosmetic comments to #10702

Address two cosmetic comments to
thesofproject#10702
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
CopilotAI review requested due to automatic review settings April 30, 2026 12:05

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Cosmetic cleanup related to earlier userspace DP/vregion work by aligning comments and header declarations with the current code, helping avoid build/compile-order issues and reducing confusion.

Changes:

  • Add a forward declaration for struct mod_alloc_ctx in audio_buffer.h to support the alloc pointer member without requiring additional includes.
  • Fix a stale comment in module_adapter_dp_heap_new() to match the existing 4k lifetime allocation size.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

FileDescription
src/include/sof/audio/audio_buffer.hAdds forward declaration for mod_alloc_ctx used by sof_audio_buffer.
src/audio/module_adapter/module_adapter.cUpdates comment to match the existing vregion_create(4096, ...) behavior.

Comment threadsrc/audio/module_adapter/module_adapter.c
@lyakh

Copy link
Copy Markdown
CollaboratorAuthor

@lrudyX this one really cannot break anything...

@lgirdwood
lgirdwood merged commit f1400dc into thesofproject:mainMay 5, 2026
44 of 45 checks passed
@lyakh
lyakh deleted the vreg branch May 5, 2026 13:16
Sign up for freeto 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.

5 participants

@lyakh@lgirdwood@kv2019i@wjablon1