Skip to content

[FEATURE] Add support for sparse in SOF #2384

@dbaluta

Description

@dbaluta

Is your feature request related to a problem? Please describe.
Better support for static analysis.

https://en.wikipedia.org/wiki/Sparse
https://elinux.org/Sparse

Describe the solution you'd like

Similar with Linux kernel, we need an option to build that runs sparse. In Linux kernel to run sparse
you just need to do

make C=1 [targets] Check all c source with checker tool

Describe alternatives you've considered
We already have checkpatch.pl integrated, would be a nice addition to have sparse

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions