You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
.The text was updated successfully, but these errors were encountered: