[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131214204228.GA12100@pd.tnic>
Date: Sat, 14 Dec 2013 21:42:28 +0100
From: Borislav Petkov <bp@...en8.de>
To: Rashika Kheria <rashika.kheria@...il.com>
Cc: Linux-Kernel <linux-kernel@...r.kernel.org>,
Doug Thompson <dougthompson@...ssion.com>,
linux-edac@...r.kernel.org, Josh Triplett <josh@...htriplett.org>
Subject: Re: [PATCH 1/3] drivers: edac: Mark the function
amd64_decode_bus_error() as static in amd64_edac.c
On Sat, Dec 14, 2013 at 11:47:10PM +0530, Rashika Kheria wrote:
> My gcc version is 4.6.3. You can trigger these warnings by adding
> -Wmissing-prototypes to KBUILD_CFLAGS in the top-level Makefile, and
Actually, you don't even have to do that - you only need to build with
W=1:
make W=1 drivers/edac/amd64_edac.o
We already enable -Wmissing-prototypes as an additional compiler warning
when building objects with the W= switch.
> do a build with defconfig or allyesconfig. It will show all warnings
> of missing prototype.
Ok, gcc man page says this detects global functions without prototypes
in a header but I guess it can be used to detect needlessly global
functions too. :)
I'll pick up your three patches,
Thanks.
--
Regards/Gruss,
Boris.
Sent from a fat crate under my desk. Formatting is fine.
--
--
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