Skip to content

Commit

Permalink
EDAC, mce_amd_inj: Fix sparse non static symbol warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yongjun authored and Borislav Petkov committed Dec 21, 2014
1 parent 97bf6af commit 8c2b117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/edac/mce_amd_inj.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
static struct dfs_node {
char *name;
struct dentry *d;
const struct file_operations *fops;
Expand Down

0 comments on commit 8c2b117

Please sign in to comment.