From: Dave Kleikamp Date: Wed, 4 May 2005 20:31:14 +0000 (-0500) Subject: JFS: Fix sparse warning X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7a694ca74958b97ae2d437c8a730bddd9e9792c3;p=linux-beck.git JFS: Fix sparse warning Signed-off-by: Dave Kleikamp --- diff --git a/fs/jfs/jfs_metapage.c b/fs/jfs/jfs_metapage.c index aa1cc7be3a56..6c5485d16c39 100644 --- a/fs/jfs/jfs_metapage.c +++ b/fs/jfs/jfs_metapage.c @@ -198,7 +198,7 @@ static void init_once(void *foo, kmem_cache_t *cachep, unsigned long flags) } } -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); }