From: Victor Fusco Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton --- mm/swap_state.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN mm/swap_state.c~mm-swap_state-fix-nocast-type-warnings mm/swap_state.c --- devel/mm/swap_state.c~mm-swap_state-fix-nocast-type-warnings 2005-08-21 23:49:55.000000000 -0700 +++ devel-akpm/mm/swap_state.c 2005-08-21 23:49:55.000000000 -0700 @@ -72,8 +72,8 @@ void show_swap_cache_info(void) * __add_to_swap_cache resembles add_to_page_cache on swapper_space, * but sets SwapCache flag and private instead of mapping and index. */ -static int __add_to_swap_cache(struct page *page, - swp_entry_t entry, int gfp_mask) +static int __add_to_swap_cache(struct page *page, swp_entry_t entry, + unsigned int __nocast gfp_mask) { int error; _