Re: sparse on scripts/kconfig/*.c

2017-05-18 Thread Dan Carpenter
On Wed, May 17, 2017 at 07:53:35PM -0700, Randy Dunlap wrote: > > I did a 'git pull' for updates. On the rebuild, I get this error: > > macro_table.c:30:31: fatal error: cwchash/hashtable.h: No such file or > directory > #include "cwchash/hashtable.h" > > My problem? > > thanks for your help.

Re: sparse on scripts/kconfig/*.c

2017-05-17 Thread Randy Dunlap
On 05/16/17 02:43, Dan Carpenter wrote: > On Mon, May 15, 2017 at 11:00:22AM -0700, Randy Dunlap wrote: >> On 05/10/17 13:53, Dan Carpenter wrote: >>> I have created some new tools to make this process easier. >>> >>> 1) First you still have to edit the Makefile: >>> >>> -HOSTCC = gcc >>> +HO

Re: sparse on scripts/kconfig/*.c

2017-05-16 Thread Dan Carpenter
On Mon, May 15, 2017 at 11:00:22AM -0700, Randy Dunlap wrote: > On 05/10/17 13:53, Dan Carpenter wrote: > > I have created some new tools to make this process easier. > > > > 1) First you still have to edit the Makefile: > > > > -HOSTCC = gcc > > +HOSTCC = ~/progs/smatch/devel/cgcc >

Re: sparse on scripts/kconfig/*.c

2017-05-15 Thread Randy Dunlap
On 05/10/17 13:53, Dan Carpenter wrote: > I have created some new tools to make this process easier. > > 1) First you still have to edit the Makefile: > > -HOSTCC = gcc > +HOSTCC = ~/progs/smatch/devel/cgcc > > 2) Build the data with this command: > > ~/progs/smatch/devel/smat

Re: sparse on scripts/kconfig/*.c

2017-05-10 Thread Dan Carpenter
I have created some new tools to make this process easier. 1) First you still have to edit the Makefile: -HOSTCC = gcc +HOSTCC = ~/progs/smatch/devel/cgcc 2) Build the data with this command: ~/progs/smatch/devel/smatch_scripts/build_generic_data.sh --target scripts/ The -

Re: sparse on scripts/kconfig/*.c

2017-05-10 Thread Randy Dunlap
On 05/10/17 00:28, Christoph Hellwig wrote: > On Tue, May 09, 2017 at 05:27:01PM -0700, Randy Dunlap wrote: >> On 05/09/17 13:17, Christoph Hellwig wrote: >>> On Tue, May 09, 2017 at 09:47:41AM -0700, Randy Dunlap wrote: Hi, I've been attempting to run sparse on the kconfig/ C files

Re: sparse on scripts/kconfig/*.c

2017-05-10 Thread Dan Carpenter
On Tue, May 09, 2017 at 09:47:41AM -0700, Randy Dunlap wrote: > Hi, > > I've been attempting to run sparse on the kconfig/ C files -- without success. > > The kbuild files don't try to support CHECK in scripts/kconfig/ AFAICT, > and just running sparse on the C files has issues with not being abl

Re: sparse on scripts/kconfig/*.c

2017-05-10 Thread Christoph Hellwig
On Tue, May 09, 2017 at 05:27:01PM -0700, Randy Dunlap wrote: > On 05/09/17 13:17, Christoph Hellwig wrote: > > On Tue, May 09, 2017 at 09:47:41AM -0700, Randy Dunlap wrote: > >> Hi, > >> > >> I've been attempting to run sparse on the kconfig/ C files -- without > >> success. > >> > >> The kbuild

Re: sparse on scripts/kconfig/*.c

2017-05-09 Thread Randy Dunlap
On 05/09/17 13:17, Christoph Hellwig wrote: > On Tue, May 09, 2017 at 09:47:41AM -0700, Randy Dunlap wrote: >> Hi, >> >> I've been attempting to run sparse on the kconfig/ C files -- without >> success. >> >> The kbuild files don't try to support CHECK in scripts/kconfig/ AFAICT, >> and just runni

Re: sparse on scripts/kconfig/*.c

2017-05-09 Thread Christoph Hellwig
On Tue, May 09, 2017 at 09:47:41AM -0700, Randy Dunlap wrote: > Hi, > > I've been attempting to run sparse on the kconfig/ C files -- without success. > > The kbuild files don't try to support CHECK in scripts/kconfig/ AFAICT, > and just running sparse on the C files has issues with not being abl