Skip to content

Conversation

@lyakh
Copy link
Collaborator

@lyakh lyakh commented Mar 3, 2025

Don't type-cast pointers to "const" objects to writable pointers even temporarily. This is error-prone and might cause future compiler warnings.

Don't type-cast pointers to "const" objects to writable pointers even
temporarily. This is error-prone and might cause future compiler
warnings.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
@kv2019i kv2019i requested a review from Copilot March 3, 2025 13:16
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.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@lgirdwood
Copy link
Member

@lyakh can you check CI thanks

@lyakh
Copy link
Collaborator Author

lyakh commented Mar 4, 2025

@lyakh can you check CI thanks

@lgirdwood I dare say, that this is a pure compile-time change, since both variables to which expressions are assigned, are const too. So really surprised to see the "Internal Intel CI" failing. @wszypelt has anything broken the down-mix test?

@lgirdwood lgirdwood merged commit 0d777cb into thesofproject:main Mar 4, 2025
47 of 49 checks passed
@lyakh lyakh deleted the const branch March 4, 2025 16:27
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