[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170516161034.2973-1-weiyj.lk@gmail.com>
Date: Tue, 16 May 2017 16:10:34 +0000
From: Wei Yongjun <weiyj.lk@...il.com>
To: Borislav Petkov <bp@...e.de>, Ingo Molnar <mingo@...nel.org>
Cc: Wei Yongjun <weiyongjun1@...wei.com>, linux-kernel@...r.kernel.org
Subject: [PATCH -next] RAS: Make local function parse_ras_param() static
From: Wei Yongjun <weiyongjun1@...wei.com>
Fixes the following sparse warning:
drivers/ras/ras.c:32:12: warning:
symbol 'parse_ras_param' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
---
drivers/ras/ras.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ras/ras.c b/drivers/ras/ras.c
index 94f8038..ed4c343 100644
--- a/drivers/ras/ras.c
+++ b/drivers/ras/ras.c
@@ -29,7 +29,7 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(extlog_mem_event);
EXPORT_TRACEPOINT_SYMBOL_GPL(mc_event);
-int __init parse_ras_param(char *str)
+static int __init parse_ras_param(char *str)
{
#ifdef CONFIG_RAS_CEC
parse_cec_param(str);
Powered by blists - more mailing lists