On Thu, Oct 02, 2014 at 06:42:56PM +0200, Silvan Jegen wrote: > On Thu, Oct 02, 2014 at 07:28:09PM +0300, Dan Carpenter wrote: > > On Thu, Oct 02, 2014 at 05:53:57PM +0200, Silvan Jegen wrote: > > > > Oh. It should have created a smatch_db.sqlite file as well. I suspect > > > > So, one trick is that if you rebuild the data again it gets slightly > > more accurate each time. I rebuild once a day. > > Is it sufficient to just run the > > ~/progs/smatch/devel/smatch_data/db/create_db.sh -p=kernel warns.txt > > command in the kernel source root directory in order to do that? > No. You have to run the full script: ~/progs/smatch/devel/smatch_scripts/build_kernel_data.sh The warns.txt file is mostly a bunch of SQL commands. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe smatch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html