On Sat, Dec 14, 2013 at 10:31 PM, Borislav Petkov <[email protected]> wrote: > On Sat, Dec 14, 2013 at 07:28:24PM +0530, Rashika Kheria wrote: >> This patch marks the function amd64_decode_bus_error() as static in >> amd64_edac.c because it is not used outside this file. >> >> Thus, it also eliminates the following warning in amd64_edac.c: >> drivers/edac/amd64_edac.c:2038:6: warning: no previous prototype for >> ‘amd64_decode_bus_error’ [-Wmissing-prototypes] > > How do you trigger this? .config and output of > > gcc --version > > please. > > I've never seen this warning before. > > -- > Regards/Gruss, > Boris. >
Hi Borislav, 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 do a build with defconfig or allyesconfig. It will show all warnings of missing prototype. Thanks , -- Rashika Kheria B.Tech CSE IIIT Hyderabad -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

