Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1642650
| From | Wei Yongjun <weiyj.lk@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH -next] RAS: Make local function parse_ras_param() static |
| Date | 2017-05-16 18:20 +0200 |
| Message-ID | <tHNmy-7PP-27@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
From: Wei Yongjun <weiyongjun1@huawei.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@huawei.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);
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH -next] RAS: Make local function parse_ras_param() static Wei Yongjun <weiyj.lk@gmail.com> - 2017-05-16 18:20 +0200 Re: [PATCH -next] RAS: Make local function parse_ras_param() static Borislav Petkov <bp@suse.de> - 2017-05-17 09:20 +0200 [tip:ras/core] RAS: Make local function parse_ras_param() static tip-bot for Wei Yongjun <tipbot@zytor.com> - 2017-05-21 22:10 +0200
csiph-web