[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20220810105926.GS3460@kadam>
Date: Wed, 10 Aug 2022 13:59:26 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: smatch@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
Elena Reshetova <elena.reshetova@...el.com>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Subject: Smatch v1.73 released
Smatch is a C static checker with a lot of kernel specific checks. You
can download it from: http://repo.or.cz/w/smatch.git. Or if you prefer
a github mirror, then you can download it from
https://github.com/error27/smatch
It's a simple process to run Smatch on a file in the kernel:
yum install gcc make sqlite3 sqlite-devel sqlite perl-DBD-SQLite openssl-devel perl-Try-Tiny
make
cd ~/path/to/kernel_dir
~/smatch_dir/smatch_scripts/kchecker drivers/whatever/file.c
Overall, this release is mostly small fixes all over. The main
improvement is better tracking changes to container_of(). For example,
there are a lot of kernel release functions which free the container_of().
The next step is to figure out the correct free function to call for
put_device().
Special thanks to Elena Reshetova who wrote a new module to track
host/VMM data for confidential computing. And also to thanks to
Christophe JAILLET for a bunch of fixes and updates.
Please test and let me know if you find any issues!
regards,
dan carpenter
Powered by blists - more mailing lists