generic_data: fix up some project related things for smatch_generic
commit14b26b309ea3b93a2fce66225c632445fd020e67
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 16 May 2017 09:18:11 +0000 (16 12:18 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 16 May 2017 09:18:11 +0000 (16 12:18 +0300)
treea58de1448fa1c3fd6008b1de2f14bca13867d8b7
parentbf4d1e39ff0c75c277c63b51296289aeaeaad990
generic_data: fix up some project related things for smatch_generic

1) Accept the "-p <project>" argument for when people want to build
   their own project.
2) Add a basically empty list of too common functions and an empty script
   to fix up the DB.  There is already a fixup_all.sh to fixup the DB.
3) Pass the project argument to the DB when you build it.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_data/db/fixup_smatch_generic.sh [new file with mode: 0755]
smatch_data/smatch_generic.common_functions [new file with mode: 0644]
smatch_scripts/build_generic_data.sh