[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-5f0744e50db1628d6de770b92278445b3de2779f@git.kernel.org>
Date: Sun, 21 May 2017 12:58:31 -0700
From: tip-bot for Wei Yongjun <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: bp@...e.de, hpa@...or.com, weiyongjun1@...wei.com,
mingo@...nel.org, linux-kernel@...r.kernel.org, tglx@...utronix.de
Subject: [tip:ras/core] RAS: Make local function parse_ras_param() static
Commit-ID: 5f0744e50db1628d6de770b92278445b3de2779f
Gitweb: http://git.kernel.org/tip/5f0744e50db1628d6de770b92278445b3de2779f
Author: Wei Yongjun <weiyongjun1@...wei.com>
AuthorDate: Fri, 19 May 2017 11:39:12 +0200
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Sun, 21 May 2017 21:55:12 +0200
RAS: Make local function parse_ras_param() static
Make parse_ras_param() static as it is used locally only.
Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
Signed-off-by: Borislav Petkov <bp@...e.de>
Link: http://lkml.kernel.org/r/20170516161034.2973-1-weiyj.lk@gmail.com
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
---
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