Skip to content

fixup! ASoC: SOF: topology: allow user to add topologies - #5733

Merged
ujfalusi merged 1 commit into
thesofproject:topic/sof-devfrom
bardliao:fixup-feature-tplg
Apr 15, 2026
Merged

ujfalusi merged 1 commit into
thesofproject:topic/sof-devfrom
bardliao:fixup-feature-tplg

Conversation

@bardliao

Copy link
Copy Markdown
Collaborator

add a out of memory check.

add a out of memory check.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
@bardliao
bardliao requested review from Copilot and ujfalusi April 15, 2026 01:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds an explicit out-of-memory check when constructing feature topology filenames during SOF topology loading.

Changes:

  • Check devm_kasprintf() return value for feature topology paths and return -ENOMEM on allocation failure.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ujfalusi
ujfalusi merged commit 71c6be1 into thesofproject:topic/sof-dev Apr 15, 2026
14 of 20 checks passed
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.

3 participants