projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97bf6af
)
EDAC, mce_amd_inj: Fix sparse non static symbol warning
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Tue, 9 Dec 2014 01:04:55 +0000
(09:04 +0800)
committer
Borislav Petkov
<bp@suse.de>
Sun, 21 Dec 2014 11:44:58 +0000
(12:44 +0100)
Fixes the following sparse warnings:
drivers/edac/mce_amd_inj.c:204:3: warning:
symbol 'dfs_fls' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Link:
http://lkml.kernel.org/r/1418087095-14174-1-git-send-email-weiyj_lk@163.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/mce_amd_inj.c
patch
|
blob
|
history
diff --git
a/drivers/edac/mce_amd_inj.c
b/drivers/edac/mce_amd_inj.c
index
0bd91a8
..
f7681b5
100644
(file)
--- a/
drivers/edac/mce_amd_inj.c
+++ b/
drivers/edac/mce_amd_inj.c
@@
-197,7
+197,7
@@
static int inj_bank_get(void *data, u64 *val)
DEFINE_SIMPLE_ATTRIBUTE(bank_fops, inj_bank_get, inj_bank_set, "%llu\n");
-struct dfs_node {
+st
atic st
ruct dfs_node {
char *name;
struct dentry *d;
const struct file_operations *fops;