Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixup! ASoC: SOF: debug_dsp_ops: Add op to test DSP power state changes #5289

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

bardliao
Copy link
Collaborator

@bardliao bardliao commented Jan 14, 2025

Reported by analyzer-use-of-uninitialized-value
sound/soc/sof/debug-dsp-ops.c:216:19: error: use of uninitialized value ‘string’ [CWE-457] [-Werror=analyzer-use-of-uninitialized-value]

The ‘string’ will not be assigned in the default case of switch (sdev->dsp_power_state.state) and (sdev->dsp_power_state.substate).

Fixes: #5291

Reported by analyzer-use-of-uninitialized-value
sound/soc/sof/debug-dsp-ops.c:216:19: error: use of uninitialized value
‘string’ [CWE-457] [-Werror=analyzer-use-of-uninitialized-value]

The ‘string’ will not be assigned in the default case of switch
(sdev->dsp_power_state.state) and (sdev->dsp_power_state.substate).

Signed-off-by: Bard Liao <[email protected]>
@ranj063 ranj063 merged commit 9d8dbf8 into thesofproject:topic/sof-dev Jan 14, 2025
8 of 14 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.

CI check error: use of uninitialized value ‘string’
3 participants