aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVictor Fusco <victor@cetuc.puc-rio.br>2005-09-10 00:26:48 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-10 10:06:28 -0700
commit00b61f51922e432fd92a482ba1e0b5f8f326ef46 (patch)
tree8e639c633b9dfd826993ced8dad82e4578b25a6e /lib
parentd533f671852cc4e481ea7070aa1a3b6fc75b8e44 (diff)
downloadkernel_samsung_crespo-00b61f51922e432fd92a482ba1e0b5f8f326ef46.zip
kernel_samsung_crespo-00b61f51922e432fd92a482ba1e0b5f8f326ef46.tar.gz
kernel_samsung_crespo-00b61f51922e432fd92a482ba1e0b5f8f326ef46.tar.bz2
[PATCH] lib/radix-tree: Fix "nocast type" warnings
Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco <victor@cetuc.puc-rio.br> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/radix-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/radix-tree.c b/lib/radix-tree.c
index b972dd2..6a8bc6e 100644
--- a/lib/radix-tree.c
+++ b/lib/radix-tree.c
@@ -110,7 +110,7 @@ radix_tree_node_free(struct radix_tree_node *node)
* success, return zero, with preemption disabled. On error, return -ENOMEM
* with preemption not disabled.
*/
-int radix_tree_preload(int gfp_mask)
+int radix_tree_preload(unsigned int __nocast gfp_mask)
{
struct radix_tree_preload *rtp;
struct radix_tree_node *node;