Skip to content

klocwork: fix initialization of HiFi3 variables - #89

Merged
plbossart merged 1 commit into
thesofproject:masterfrom
mmaka1:glk-fix-kw
Jul 13, 2018
Merged

klocwork: fix initialization of HiFi3 variables#89
plbossart merged 1 commit into
thesofproject:masterfrom
mmaka1:glk-fix-kw

Conversation

@mmaka1

Copy link
Copy Markdown

Initializes HiFi3 variables to 0.

Signed-off-by: Tomasz Lauda tomasz.lauda@linux.intel.com

Initializes HiFi3 variables to 0.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
@mmaka1

Copy link
Copy Markdown
Author

Replacing #83 w/o merge commits.

@mmaka1
mmaka1 requested a review from lgirdwoodJuly 12, 2018 08:59

@plbossartplbossart left a comment

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.

some of these inits look like false-alarms to me. No objection for now but we should really test if this is necessary when Seppo is back.

@mmaka1

Copy link
Copy Markdown
Author

There are things that seem to be false positive indeed. We learned that KW is sometimes lost with Hifi3 instructions (does not understand load+increment pointer instructions, complaining about infinite loops for example). We mark such things appropriately however we usually do not try to challenge warnings about missing declaration+initialization.

@plbossartplbossart left a comment

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.

tested on APL/Up2, no impact seen

@plbossart
plbossart merged commit f9c597e into thesofproject:masterJul 13, 2018
@mmaka1
mmaka1 deleted the glk-fix-kw branch August 29, 2018 10:59
Sign up for freeto 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

@mmaka1@plbossart@tlauda