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-19 Thread Christopher Li
On Tue, Jul 8, 2014 at 12:37 AM, Dan Carpenter dan.carpen...@oracle.com 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

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

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

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

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

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 spa...@chrisli.org wrote: Add the CLOG=logname option in command line to save the sparse warning into individual log file. Typical usage: make -j8 C=2 CLOG=logname Any

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 s...@ravnborg.org wrote: Typical usage: make -j8 C=2 CLOG=logname 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

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

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,

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 spa...@chrisli.org wrote: Add the CLOG=logname option in command line to save the sparse warning into individual log file. Typical usage: make -j8 C=2 CLOG=logname Any

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 spa...@chrisli.org wrote: Add the CLOG=logname option in command line to save the sparse warning into individual log file. Typical usage: make -j8 C=2 CLOG=logname Any feed back for this change? I want to clarify that this patch is for the

[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

[PATCH] sparse: Add CLOG option for saving warning

2014-06-30 Thread Christopher Li
3b2ff204cbda684adf9dba2adf568062533ae34d Mon Sep 17 00:00:00 2001 From: Christopher Li spa...@chrisli.org 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