* [patch 1/1] mm/swap_state: Fix "nocast type" warnings
@ 2005-07-14 21:43 domen, Victor Fusco
0 siblings, 0 replies; only message in thread
From: domen, Victor Fusco @ 2005-07-14 21:43 UTC (permalink / raw)
To: akpm; +Cc: linux-mm, Victor Fusco, domen
[-- Attachment #1: sparse-mm_swap_state --]
[-- Type: text/plain, Size: 1072 bytes --]
Fix the sparse warning "implicit cast to nocast type"
File/Subsystem:mm/swap_state.c
Signed-off-by: Victor Fusco <victor@cetuc.puc-rio.br>
Signed-off-by: Domen Puncer <domen@coderock.org>
--
---
swap_state.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: quilt/mm/swap_state.c
===================================================================
--- quilt.orig/mm/swap_state.c
+++ quilt/mm/swap_state.c
@@ -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;
--
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-07-14 21:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-14 21:43 [patch 1/1] mm/swap_state: Fix "nocast type" warnings domen, Victor Fusco
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox