Re: [PATCH] sparse: Add CLOG option for saving warning

2014-07-19 Thread Christopher Li
On Tue, Jul 8, 2014 at 12:37 AM, Dan Carpenter wrote: > My kernel tree is full of drivers/foo.c.smatch and > drivers/foo.c.smatch-info files... > > It would be nice to add it to .gitignore as well. Actually, ".*" is already in the .gitignore, there for the sparse log files are covered. Chris --

Re: [PATCH] sparse: Add CLOG option for saving warning

2014-07-08 Thread Dan Carpenter
My kernel tree is full of drivers/foo.c.smatch and drivers/foo.c.smatch-info files... It would be nice to add it to .gitignore as well. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More maj

Re: [PATCH] sparse: Add CLOG option for saving warning

2014-07-07 Thread Christopher Li
On Mon, Jul 7, 2014 at 4:22 AM, Sam Ravnborg wrote: >> > Typical usage: >> > >> > make -j8 C=2 CLOG= >> > We do not need this kind of special handling of outputs from gcc. > For sparse you just do a run with C=2 then you have it. > > In other words - this looks like overkill for somethign thas is

Re: [PATCH] sparse: Add CLOG option for saving warning

2014-07-07 Thread Sam Ravnborg
On Fri, Jul 04, 2014 at 12:48:00AM -0700, Christopher Li wrote: > On Mon, Jun 30, 2014 at 1:57 AM, Christopher Li wrote: > > > > Add the CLOG= option in command line to > > save the sparse warning into individual log file. > > > > Typical usage: > > > > make -j8 C=2 CLOG= > > Any feed back for th

Re: [PATCH] sparse: Add CLOG option for saving warning

2014-07-04 Thread Josh Triplett
On Fri, Jul 04, 2014 at 12:48:00AM -0700, Christopher Li wrote: > On Mon, Jun 30, 2014 at 1:57 AM, Christopher Li wrote: > > > > Add the CLOG= option in command line to > > save the sparse warning into individual log file. > > > > Typical usage: > > > > make -j8 C=2 CLOG= > > Any feed back for th

Re: [PATCH] sparse: Add CLOG option for saving warning

2014-07-04 Thread Christopher Li
On Mon, Jun 30, 2014 at 1:57 AM, Christopher Li wrote: > > Add the CLOG= option in command line to > save the sparse warning into individual log file. > > Typical usage: > > make -j8 C=2 CLOG= Any feed back for this change? I want to clarify that this patch is for the Linux kernel kbuild system,

[PATCH] sparse: Add CLOG option for saving warning

2014-06-30 Thread Christopher Li
: Christopher Li Date: Mon, 30 Jun 2014 01:33:22 -0700 Subject: [PATCH] sparse: Add CLOG option for saving warning Currently sparse warning only output to stderr. In the parallel build process, different source file output is fixed together. It is hard to keep track of the warning. Add the CLOG