projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c869494
)
bcache: fix sparse non static symbol warning
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Thu, 28 Nov 2013 02:31:35 +0000
(10:31 +0800)
committer
Kent Overstreet
<kmo@daterainc.com>
Fri, 29 Nov 2013 01:05:58 +0000
(17:05 -0800)
Fixes the following sparse warning:
drivers/md/bcache/btree.c:2220:5: warning:
symbol 'btree_insert_fn' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/btree.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/bcache/btree.c
b/drivers/md/bcache/btree.c
index 5e2765aadce174e9b7cffd479667a2c48bcf500f..dc6e2be265b793cf0f51b8138cf29ad0f45cb540 100644
(file)
--- a/
drivers/md/bcache/btree.c
+++ b/
drivers/md/bcache/btree.c
@@
-2217,7
+2217,7
@@
struct btree_insert_op {
struct bkey *replace_key;
};
-int btree_insert_fn(struct btree_op *b_op, struct btree *b)
+
static
int btree_insert_fn(struct btree_op *b_op, struct btree *b)
{
struct btree_insert_op *op = container_of(b_op,
struct btree_insert_op, op);