amd64_edac: Mark amd64_decode_bus_error as static
authorRashika Kheria <rashika.kheria@gmail.com>
Sat, 14 Dec 2013 13:58:24 +0000 (19:28 +0530)
committerBorislav Petkov <bp@suse.de>
Sun, 15 Dec 2013 16:16:59 +0000 (17:16 +0100)
This patch marks the function amd64_decode_bus_error() as static because
it is not used outside of amd64_edac.c.

It also eliminates the following warning:
drivers/edac/amd64_edac.c:2038:6: warning: no previous prototype for ‘amd64_decode_bus_error’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Link: http://lkml.kernel.org/r/7cddbd4c69ed493f183383e98853181aaf75b26b.1387029387.git.rashika.kheria@gmail.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/amd64_edac.c

index a2f1854891f3371a8919a72c81fe9937d2a0f037..6b2542e102e126484fdda74f6aa45cea7074427f 100644 (file)
@@ -2035,7 +2035,7 @@ static inline void __amd64_decode_bus_error(struct mem_ctl_info *mci,
        __log_bus_error(mci, &err, ecc_type);
 }
 
-void amd64_decode_bus_error(int node_id, struct mce *m)
+static void amd64_decode_bus_error(int node_id, struct mce *m)
 {
        __amd64_decode_bus_error(mcis[node_id], m);
 }
This page took 0.027932 seconds and 5 git commands to generate.