lkmpg/examples
linD026 d6e1044aa7 CI: introduce GCC static analysis
Since GCC version 10, there has been a new option -fanalyzer for
static analysis. It can make the CI pipeline more comprehensive.

Also, the static analysis updates in GCC 11, but we cannot install
the GCC 11 in ubuntu 20.04 straightforwardly right now, which is
the GitHub workflow environment (see status-check.yaml).
For this reason, we stay at the GCC 10.

Close #117

Reference
- https://gcc.gnu.org/onlinedocs/gcc-10.1.0/gcc/Static-Analyzer-Options.html
- https://developers.redhat.com/blog/2020/03/26/static-analysis-in-gcc-10
- https://lwn.net/Articles/870290/
- https://developers.redhat.com/blog/2021/01/28/static-analysis-updates-in-gcc-11
- 7d73c3e9c5
2021-10-08 19:41:22 +08:00
..
other Enforce consistent style for directory "other" (#89) 2021-09-02 16:26:29 +08:00
.clang-format Enforce Linux kernel coding style (#88) 2021-09-02 15:15:07 +08:00
bottomhalf.c Fix the warnings raised by Sparse (#92) 2021-09-04 17:53:29 +08:00
chardev.c Fix potential concurrent access problems with VFS (#108) 2021-09-23 12:20:10 +08:00
chardev.h Enforce Linux kernel coding style (#88) 2021-09-02 15:15:07 +08:00
chardev2.c Fix potential concurrent access problems with VFS (#108) 2021-09-23 12:20:10 +08:00
completions.c Fix the warnings raised by Sparse (#92) 2021-09-04 17:53:29 +08:00
cryptosha256.c Fix the warnings raised by Sparse (#92) 2021-09-04 17:53:29 +08:00
cryptosk.c Fix the warnings raised by Sparse (#92) 2021-09-04 17:53:29 +08:00
devicemodel.c Enforce Linux kernel coding style (#88) 2021-09-02 15:15:07 +08:00
example_atomic.c CI: Run static analysis with Cppcheck (#105) 2021-09-14 00:52:04 +08:00
example_mutex.c Fix the warnings raised by Sparse (#92) 2021-09-04 17:53:29 +08:00
example_rwlock.c Fix the warnings raised by Sparse (#92) 2021-09-04 17:53:29 +08:00
example_spinlock.c Fix the warnings raised by Sparse (#92) 2021-09-04 17:53:29 +08:00
example_tasklet.c Fix the warnings raised by Sparse (#92) 2021-09-04 17:53:29 +08:00
hello-1.c Mention pr_info() rather than KERN_INFO 2021-08-16 21:53:22 +02:00
hello-2.c Enforce Linux kernel coding style (#88) 2021-09-02 15:15:07 +08:00
hello-3.c Enforce Linux kernel coding style (#88) 2021-09-02 15:15:07 +08:00
hello-4.c Enforce Linux kernel coding style (#88) 2021-09-02 15:15:07 +08:00
hello-5.c Enforce Linux kernel coding style (#88) 2021-09-02 15:15:07 +08:00
hello-sysfs.c Enforce Linux kernel coding style (#88) 2021-09-02 15:15:07 +08:00
intrpt.c Enforce Linux kernel coding style (#88) 2021-09-02 15:15:07 +08:00
ioctl.c CI: Run static analysis with Cppcheck (#105) 2021-09-14 00:52:04 +08:00
kbleds.c Adapt the timer API Usage (#98) 2021-09-10 12:29:48 +08:00
Makefile CI: introduce GCC static analysis 2021-10-08 19:41:22 +08:00
print_string.c Enforce Linux kernel coding style (#88) 2021-09-02 15:15:07 +08:00
procfs1.c Fix the warnings raised by Sparse (#92) 2021-09-04 17:53:29 +08:00
procfs2.c Fix the warnings raised by Sparse (#92) 2021-09-04 17:53:29 +08:00
procfs3.c Fix the warnings raised by Sparse (#92) 2021-09-04 17:53:29 +08:00
procfs4.c suppress warning: no newline at end of file 2021-09-08 22:23:02 +08:00
sched.c Enforce Linux kernel coding style (#88) 2021-09-02 15:15:07 +08:00
sleep.c Avoid unexpected concurrent access (#94) 2021-09-07 23:42:06 +08:00
start.c Apply editorial changes 2021-08-08 01:24:59 +08:00
stop.c Fix the warnings raised by Sparse (#92) 2021-09-04 17:53:29 +08:00
syscall.c Fix the warnings raised by Sparse (#92) 2021-09-04 17:53:29 +08:00