All of lore.kernel.org
 help / color / mirror / Atom feed
* Smatch v1.73 released
@ 2022-08-10 10:59 Dan Carpenter
  0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2022-08-10 10:59 UTC (permalink / raw)
  To: smatch; +Cc: linux-kernel, kernel-janitors, Elena Reshetova,
	Christophe JAILLET

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-10 10:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-10 10:59 Smatch v1.73 released Dan Carpenter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.