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

klocwork: fix initialization of HiFi3 variables #89

Merged
merged 1 commit into from
Jul 13, 2018

Conversation

mmaka1
Copy link

@mmaka1 mmaka1 commented Jul 12, 2018

Initializes HiFi3 variables to 0.

Signed-off-by: Tomasz Lauda [email protected]

Initializes HiFi3 variables to 0.

Signed-off-by: Tomasz Lauda <[email protected]>
@mmaka1
Copy link
Author

mmaka1 commented Jul 12, 2018

Replacing #83 w/o merge commits.

@mmaka1 mmaka1 requested a review from lgirdwood July 12, 2018 08:59
Copy link
Member

@plbossart plbossart left a comment

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
Author

mmaka1 commented Jul 13, 2018

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.

Copy link
Member

@plbossart plbossart left a comment

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:master Jul 13, 2018
@mmaka1 mmaka1 deleted the glk-fix-kw branch August 29, 2018 10:59
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