ipc4: fix an "unused variable" warning, found by a fuzzer#10001
Closed
lyakh wants to merge 2 commits intothesofproject:mainfrom
Closed
ipc4: fix an "unused variable" warning, found by a fuzzer#10001lyakh wants to merge 2 commits intothesofproject:mainfrom
lyakh wants to merge 2 commits intothesofproject:mainfrom
Conversation
If logging is disabled, the sof_uuid variable in ipc4_get_drv() will be unused. Add an attribute to fix a compilation failure. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Merged
kv2019i
approved these changes
May 12, 2025
abonislawski
approved these changes
May 13, 2025
tmleman
approved these changes
May 13, 2025
comp_new and comp_idx in fuzz_isr() are only used with IPC3, move their definitions under the #ifdef. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Collaborator
Author
|
turns out #9998 already covers these and a couple more |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If logging is disabled, the sof_uuid variable in ipc4_get_drv() will be unused. Add an attribute to fix a compilation failure.
Failed build: https://github.com/thesofproject/sof/actions/runs/14970782671/job/42051045218?pr=10000