[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110221022707.GB18332@liondog.tnic>
Date: Mon, 21 Feb 2011 03:27:07 +0100
From: Borislav Petkov <bp@...en8.de>
To: Joe Perches <joe@...ches.com>
Cc: Sam Ravnborg <sam@...nborg.org>, Michal Marek <mmarek@...e.cz>,
torvalds@...ux-foundation.org, x86@...nel.org,
linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
linux-kbuild@...r.kernel.org
Subject: Re: [PATCH] kbuild: Add extra gcc checks
On Sun, Feb 20, 2011 at 12:00:47PM -0800, Joe Perches wrote:
> > +EXTRA_CFLAGS += -Wextra -Wno-unused
>
> Why add -Wno-unused ?
>
> If it's because of verbosity, maybe
Nah, it's because it is too noisy and spits too many false positives.
For example, it reports the arguments of all those stubs from the
headers which are provided for the else-branch of a CONFIG_* option,
etc.
--
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