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]
Date:	Mon, 25 Jul 2011 10:53:32 -0700
From:	Linus Torvalds <torvalds@...ux-foundation.org>
To:	Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc:	Arnaud Lacombe <lacombar@...il.com>, Ingo Molnar <mingo@...e.hu>,
	linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [GIT PULL] core/locking changes for v3.1

On Mon, Jul 25, 2011 at 3:09 AM, Peter Zijlstra <a.p.zijlstra@...llo.nl> wrote:
>
> Argh, I really need -Werror to even see warnings, compiler output just
> flies by waaaaaay too fast.

Do what I do:

  make -j32 > ../makes

that way the only thing you see is the warnings (and the final link report).

That pattern was one reason why I wanted me default compile to be
warning-clean. Of course, then gcc started adding more warnings, and
it's not clean any more ("warning: statement with no effect" from the
fact that we just define many functions to '(0)' when they are
disabled) but my current personal compile config only gets four
warnings.

I realize there are *many* more warnings once you start enabling more
special code - as usual, the core code tends to be better quality, and
the further away from that base you get, the worse things get.

But it would definitely be good if most kernel developers did the
above. Do it for just your personal config - at least you'll see the
warnings in code you write (because presumably your personal config
will have that code enabled ;)

                    Linus
--
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