[PATCH 4/4] Fix sparse warning

[email protected] (Dave Kleikamp) Fri, 6 May 2005 16:27:10 -0500 (CDT)
Newsgroups gmane.comp.file-systems.jfs.patches
Message-ID <[email protected]>
diff-tree 7a694ca74958b97ae2d437c8a730bddd9e9792c3 (from dcc9871270aa3b1bbe2e61cc9c1d80e9b2e8099d)
    
    JFS: Fix sparse warning
    
    Signed-off-by: Dave Kleikamp <[email protected]>

--- a/fs/jfs/jfs_metapage.c
+++ b/fs/jfs/jfs_metapage.c
@@ -198,7 +198,7 @@ static void init_once(void *foo, kmem_ca
 	}
 }
 
-static inline struct metapage *alloc_metapage(int gfp_mask)
+static inline struct metapage *alloc_metapage(unsigned int gfp_mask)
 {
 	return mempool_alloc(metapage_mempool, gfp_mask);
 }



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20