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

"sparse" tool warnings to look at #59

Open
abrodkin opened this issue Nov 11, 2021 · 0 comments
Open

"sparse" tool warnings to look at #59

abrodkin opened this issue Nov 11, 2021 · 0 comments

Comments

@abrodkin
Copy link
Member

Inspired by https://www.spinics.net/lists/linux-mm/msg268313.html

Linux semantic checker sparce (see more info on how it works - https://lwn.net/Articles/689907/) could be easily used during the Linux kernel build. Just either install it with your Linux distro package manager or build it from sources (https://git.kernel.org/pub/scm/devel/sparse/sparse.git) and make sure it's in your PATH variable.
Then: make C=1 CF='-fdiagnostic-prefix'.

See attached a full log: sparse.log.
Note, there're many warnings for different parts of the source tree, but for us the most interesting might be those in arch/arc.

@abrodkin abrodkin changed the title "sparse" tool warnings tol look at "sparse" tool warnings to look at Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants