Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9de75d11 authored by Victor Fusco's avatar Victor Fusco Committed by Linus Torvalds
Browse files

[PATCH] mm/swap_state: Fix "nocast type" warnings



Fix the sparse warning "implicit cast to nocast type"

Signed-off-by: default avatarVictor Fusco <victor@cetuc.puc-rio.br>
Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e776eba0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -67,8 +67,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;