Re: [PATCH 1/3] drivers: edac: Mark the functionamd64_decode_bus_error() as static in amd64_edac.c

From: Borislav Petkov
Date: Sat Dec 14 2013 - 12:01:24 EST


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.

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/