Commit 8c2b117f authored by Wei Yongjun's avatar Wei Yongjun Committed by Borislav Petkov

EDAC, mce_amd_inj: Fix sparse non static symbol warning

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Link: http://lkml.kernel.org/r/1418087095-14174-1-git-send-email-weiyj_lk@163.comSigned-off-by: default avatarBorislav Petkov <bp@suse.de>
parent 97bf6af1
...@@ -197,7 +197,7 @@ static int inj_bank_get(void *data, u64 *val) ...@@ -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"); DEFINE_SIMPLE_ATTRIBUTE(bank_fops, inj_bank_get, inj_bank_set, "%llu\n");
struct dfs_node { static struct dfs_node {
char *name; char *name;
struct dentry *d; struct dentry *d;
const struct file_operations *fops; const struct file_operations *fops;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment