projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b39bd5
)
staging: silicom: fix sparse warning for static variable
author
James A Shackleford
<
[email protected]
>
Sun, 1 Jun 2014 23:34:28 +0000
(19:34 -0400)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sun, 1 Jun 2014 23:46:56 +0000
(16:46 -0700)
This patch fixes the following sparse warning in bpctl_mod.c:
warning: symbol 'bpvm_lock' was not declared. Should it be static?
Signed-off-by: James A Shackleford <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/silicom/bpctl_mod.c
patch
|
blob
|
history
diff --git
a/drivers/staging/silicom/bpctl_mod.c
b/drivers/staging/silicom/bpctl_mod.c
index f74b5e711609d2bb2ead5716bf988c1ca8b2325a..765fce84d9dd15494794b46dc282c5df6bf731f9 100644
(file)
--- a/
drivers/staging/silicom/bpctl_mod.c
+++ b/
drivers/staging/silicom/bpctl_mod.c
@@
-41,7
+41,7
@@
MODULE_AUTHOR("Anna Lukin,
[email protected]
");
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION(BP_MOD_DESCR);
MODULE_VERSION(BP_MOD_VER);
-spinlock_t bpvm_lock;
+s
tatic s
pinlock_t bpvm_lock;
#define unlock_bpctl() \
up(&bpctl_sema);