Skip to content

audio: dax: fixes regarding the results of coverity check - #11454

Open
checkupup wants to merge 1 commit into
thesofproject:mainfrom
checkupup:main_coverity_fixes
Open

checkupup wants to merge 1 commit into
thesofproject:mainfrom
checkupup:main_coverity_fixes

Conversation

@checkupup

Copy link
Copy Markdown
Contributor

Out-of-bounds access (ARRAY_VS_SINGLETON): original calls may treat proc_flags as an array.

Out-of-bounds access (ARRAY_VS_SINGLETON): original calls
may treat proc_flags as an array.

Signed-off-by: Jun Lai <junlai@dolby.com>
@sofci

sofci commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

reply test this please to run this test once

@checkupup
checkupup marked this pull request as ready for review November 13, 2026 13:01
{
#ifdef __ZEPHYR__
int32_t bit = ffs(flag) - 1;
atomic_val_t mask = (atomic_val_t)flag;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@checkupup sorry not following the commit message here, not following what is being treated as an array by the compiler ?

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