diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/idr.c | 2 | ||||
-rw-r--r-- | lib/radix-tree.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -607,7 +607,7 @@ void *idr_replace(struct idr *idp, void *ptr, int id) | |||
607 | } | 607 | } |
608 | EXPORT_SYMBOL(idr_replace); | 608 | EXPORT_SYMBOL(idr_replace); |
609 | 609 | ||
610 | static void idr_cache_ctor(struct kmem_cache *idr_layer_cache, void *idr_layer) | 610 | static void idr_cache_ctor(void *idr_layer) |
611 | { | 611 | { |
612 | memset(idr_layer, 0, sizeof(struct idr_layer)); | 612 | memset(idr_layer, 0, sizeof(struct idr_layer)); |
613 | } | 613 | } |
diff --git a/lib/radix-tree.c b/lib/radix-tree.c index 9c4f1ffa2864..be86b32bc874 100644 --- a/lib/radix-tree.c +++ b/lib/radix-tree.c | |||
@@ -1183,7 +1183,7 @@ int radix_tree_tagged(struct radix_tree_root *root, unsigned int tag) | |||
1183 | EXPORT_SYMBOL(radix_tree_tagged); | 1183 | EXPORT_SYMBOL(radix_tree_tagged); |
1184 | 1184 | ||
1185 | static void | 1185 | static void |
1186 | radix_tree_node_ctor(struct kmem_cache *cachep, void *node) | 1186 | radix_tree_node_ctor(void *node) |
1187 | { | 1187 | { |
1188 | memset(node, 0, sizeof(struct radix_tree_node)); | 1188 | memset(node, 0, sizeof(struct radix_tree_node)); |
1189 | } | 1189 | } |