From: domen@coderock.org
From: Victor Fusco <victor@cetuc.puc-rio.br>
To: akpm@osdl.org
Cc: linux-mm@kvack.org, Victor Fusco <victor@cetuc.puc-rio.br>,
domen@coderock.org
Subject: [patch 1/1] mm/swap_state: Fix "nocast type" warnings
Date: Thu, 14 Jul 2005 23:43:52 +0200 [thread overview]
Message-ID: <20050714214352.197408000@homer> (raw)
[-- 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>
reply other threads:[~2005-07-14 21:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050714214352.197408000@homer \
--to=domen@coderock.org \
--cc=akpm@osdl.org \
--cc=linux-mm@kvack.org \
--cc=victor@cetuc.puc-rio.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox