OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bedf93
)
staging: most: configfs: Make mdev_link_list static
author
YueHaibing
<yuehaibing@huawei.com>
Wed, 17 Apr 2019 14:58:58 +0000
(22:58 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 19 Apr 2019 12:59:36 +0000
(14:59 +0200)
Fix sparse warning:
drivers/staging/most/configfs.c:34:18: warning:
symbol 'mdev_link_list' was not declared. Should it be static?
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/configfs.c
patch
|
blob
|
history
diff --git
a/drivers/staging/most/configfs.c
b/drivers/staging/most/configfs.c
index
934fb6d
..
1d8bf29
100644
(file)
--- a/
drivers/staging/most/configfs.c
+++ b/
drivers/staging/most/configfs.c
@@
-31,7
+31,7
@@
struct mdev_link {
char comp_params[PAGE_SIZE];
};
-struct list_head mdev_link_list;
+st
atic st
ruct list_head mdev_link_list;
static int set_cfg_buffer_size(struct mdev_link *link)
{