Skip to content

fixup! ASoC: SOF: add disable_function_topology module parameter#5405

Merged
ujfalusi merged 1 commit intothesofproject:topic/sof-devfrom
bardliao:fixup-disable_function_topology
May 6, 2025
Merged

fixup! ASoC: SOF: add disable_function_topology module parameter#5405
ujfalusi merged 1 commit intothesofproject:topic/sof-devfrom
bardliao:fixup-disable_function_topology

Conversation

@bardliao
Copy link
Collaborator

@bardliao bardliao commented May 6, 2025

To fix the checkpatch error below.
ERROR: do not initialise statics to false
+static bool disable_function_topology = false;

total: 1 errors, 0 warnings, 0 checks, 20 lines checked

To fix the checkpatch error below.
ERROR: do not initialise statics to false
+static bool disable_function_topology = false;

total: 1 errors, 0 warnings, 0 checks, 20 lines checked

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
@bardliao bardliao requested review from Copilot, ranj063 and ujfalusi May 6, 2025 02:48
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a checkpatch error by removing an explicit initializer for a static boolean variable in topology.c, relying on the default zero initialization provided by C.

  • Removed explicit initialization of disable_function_topology to false
  • Updated module parameter declaration accordingly

@ujfalusi ujfalusi merged commit 3a6b930 into thesofproject:topic/sof-dev May 6, 2025
9 of 16 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.

4 participants