lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110426204307.GA15315@liondog.tnic>
Date:	Tue, 26 Apr 2011 22:43:07 +0200
From:	Borislav Petkov <bp@...en8.de>
To:	Michal Marek <mmarek@...e.cz>
Cc:	Sam Ravnborg <sam@...nborg.org>,
	linux-kbuild <linux-kbuild@...r.kernel.org>,
	LKML <linux-kernel@...r.kernel.org>,
	Dave Jones <davej@...hat.com>
Subject: Re: [PATCH v3.1] kbuild: implement several W= levels

On Tue, Apr 26, 2011 at 09:52:35PM +0200, Michal Marek wrote:
> On 22.4.2011 19:50, Borislav Petkov wrote:
> > From: Sam Ravnborg <sam@...nborg.org>
> > 
> > Building a kernel with "make W=1" produce far too much noise
> > to be usefull.
> > 
> > Divide the warning options in three groups:
> > 
> >     W=1 - warnings that may be relevant and does not occur too often
> >     W=2 - warnings that occur quite often but may still be relevant
> >     W=3 - the more obscure warnings, can most likely be ignored
> > 
> > When building init/ on my box the levels produces:
> > 
> > W=1 - 46 warnings
> > W=2 - 863 warnings
> > W=3 - 6496 warnings
> 
> I guess these numbers are not valid after your changes? Not that the
> exact numbers are important, but maybe the distribution change?

I think so too that those numbers don't mean a lot. Instead, this
feature makes more sense IMHO if you use it on a single file:

make W=1 <file.c> 2>before.log

<make your changes>

make W=1 <file.c> 2>after.log

diff -uprN before.log after.log

and you let the compiler tell you which warnings you've introduced. Then
you do the same game with W=2 and W=3.

Nice, huh. :)

-- 
Regards/Gruss,
    Boris.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ